Skip to content

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

@shubhisingh07

Description

@shubhisingh07

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions