[JIRA] (JENKINS-60225) Trigger builds only by PR comments

9 views
Skip to first unread message

giacomo.serafini@meteoswiss.ch (JIRA)

unread,
Nov 20, 2019, 5:27:02 AM11/20/19
to jenkinsc...@googlegroups.com
Giacomo Serafini created an issue
 
Jenkins / New Feature JENKINS-60225
Trigger builds only by PR comments
Issue Type: New Feature New Feature
Assignee: Unassigned
Components: github-branch-source-plugin
Created: 2019-11-20 10:26
Environment: Jenkins ver. 2.190.1
GitHub Branch Source Plugin 2.5.8
Labels: trigger comment
Priority: Major Major
Reporter: Giacomo Serafini

As my organization wants to migrate from the github pr builder plugin to this one, it is critical for us to be able to trigger builds by comments on PRs and to disable automatic building upon detection of new commits.

We have very long builds (up to 1 hour) as we need to run performance tests of our software on nodes of a supercomputer, therefore we cannot afford having automatic building. Moreover, sometimes we may just change the environment and need to trigger a build without changing the code.

What we currently do with the github pr builder to trigger a build is writing a "launch jenkins" comment on a PR. If the plugin detects such comment from an authorized user (member of the organization on github), it starts the build.

I'm sure we are not the only ones which would benefit from such functionality.

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo

vkuklin@joom.com (JIRA)

unread,
Dec 4, 2019, 6:23:02 AM12/4/19
to jenkinsc...@googlegroups.com
Vladimir Kuklin updated an issue
 
Jenkins / Bug JENKINS-60225
Change By: Vladimir Kuklin
Issue Type: New Feature Bug

vkuklin@joom.com (JIRA)

unread,
Dec 4, 2019, 6:23:03 AM12/4/19
to jenkinsc...@googlegroups.com
Vladimir Kuklin updated an issue
Change By: Vladimir Kuklin
Issue Type: Bug New Feature

nigel.armstrong@braincorp.com (JIRA)

unread,
Jan 24, 2020, 2:37:03 AM1/24/20
to jenkinsc...@googlegroups.com
Nigel Armstrong commented on New Feature JENKINS-60225
 
Re: Trigger builds only by PR comments

I believe you can use the issue comment trigger in your pipeline to only trigger on issue comments. See https://github.com/jenkinsci/pipeline-github-plugin/blob/master/README.md#issuecommenttrigger

bitwiseman@gmail.com (JIRA)

unread,
May 5, 2020, 7:08:02 PM5/5/20
to jenkinsc...@googlegroups.com

Nigel Armstrong
That is a different plugin. What we need is community members to step up to add this functionality. I'm happy to answer question about where the implementation would need to go.

This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages