Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not able to trigger jenkins job by adding specific labels #861

Open
shubhisingh07 opened this issue Nov 28, 2023 · 0 comments
Open

Not able to trigger jenkins job by adding specific labels #861

shubhisingh07 opened this issue Nov 28, 2023 · 0 comments
Labels

Comments

@shubhisingh07
Copy link

shubhisingh07 commented Nov 28, 2023

Jenkins and plugins versions report

I am trying to trigger a jenkins job by adding a specific label (for eg : "RFJ") to the Github PR.
I have configured GitHub Pull Request Builder. And have enabled the options Trigger phrase with value "RFJ" and List of GitHub labels for which the build should only be triggered. (Leave blank for 'any') also has value "RFJ". However the job is only getting triggered if I add a comment phrase "RFJ" and not when RFJ label is added to the PR.

What Operating System are you using (both controller, and any agents involved in the problem)?

MacOS

Reproduction steps

  1. Create a jenkins job.
  2. Configure GitHub Pull Request Builder
  3. Create a webhook for the jenkins job
  4. Raise a PR
  5. Add a label and check if the job gets triggered.

Expected Results

The jenkins job should have been triggered

Actual Results

The jenkins job did not get triggered

Anything else?

No response

Are you interested in contributing a fix?

Yes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant