jenkinsci / jenkinsci/github-branch-source-plugin

[JENKINS-60225] Trigger builds only by PR comments

Open
#1,287 2 comments 0 reactions 0 assignees View on GitHub
component:github-branch-source-plugin enhancement imported-jira-issue priority:major resolution:unresolved
Dominant language
Java
Stars
217
Forks
398
Avg merge
30m
Merged PRs (30d)
1

Description

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.

---
Originally reported by gis, imported from: Trigger builds only by PR comments


  • status: Open
  • priority: Major
  • component(s): github-branch-source-plugin
  • label(s): comment, trigger
  • resolution: Unresolved
  • votes: 2
  • watchers: 4
  • imported: 2025-12-02

Raw content of original issue

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.

environment

```
Jenkins ver. 2.190.1

GitHub Branch Source Plugin 2.5.8
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.