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

Triggers should support issue labels #72

Open
aleboulanger opened this issue Mar 5, 2020 · 2 comments
Open

Triggers should support issue labels #72

aleboulanger opened this issue Mar 5, 2020 · 2 comments

Comments

@aleboulanger
Copy link

It will be useful to have the possibility to trigger a job with a dedicated issue label, like you already do with the issue comments.

In order to declare something like

pipeline {
    triggers {
        issueLabelTrigger('.*my-label.*')
    }
}

https://github.com/jenkinsci/pipeline-github-plugin#triggers

@aleboulanger aleboulanger changed the title Triggers only supports issue comments Triggers should support issue labels Mar 5, 2020
@allout58
Copy link

Maybe this should be closed in favor of the more general enhancement by #91?

@xocasdashdash
Copy link

I've added support for this on my PR #121 if you go here https://ci.jenkins.io/job/Plugins/job/pipeline-github-plugin/job/PR-121/4/artifact/org/jenkins-ci/plugins/pipeline-github/2.8-151.33e86903fbb8/pipeline-github-2.8-151.33e86903fbb8.hpi you can download a version of this plugin with that included.

Let me know if it works!

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

No branches or pull requests

4 participants