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

Multiple jobs from issueCommentTrigger not working #74

Open
brittanydionigi opened this issue Mar 27, 2020 · 0 comments
Open

Multiple jobs from issueCommentTrigger not working #74

brittanydionigi opened this issue Mar 27, 2020 · 0 comments

Comments

@brittanydionigi
Copy link

brittanydionigi commented Mar 27, 2020

This is really bizarre. I saw this issue was resolved in 2.4. I am now running 2.5 but still seeing this issue under one circumstance.

I added some pipeline code that works great, it kicks off a PR-head and PR-merge build when someone adds a comment to a PR that says 'jenkins rebuild':

pipelineTriggers([
    issueCommentTrigger('jenkins rebuild')
])

I wanted to add another comment trigger so people could also trigger with 'jenkins try harder'. But jenkins try harder seems to only ever kick off the PR-merge build, never the PR-head. Can you think of any reason this might be?? I tried all the following pipeline code with the same results every time (jenkins rebuild still works great, jenkins try harder does not):

pipelineTriggers([
    issueCommentTrigger('jenkins rebuild|jenkins try harder')
])


pipelineTriggers([
    issueCommentTrigger('jenkins try harder|jenkins rebuild')
])


pipelineTriggers([
    issueCommentTrigger('jenkins try harder'),
    issueCommentTrigger('jenkins rebuild')
])


pipelineTriggers([
    issueCommentTrigger('jenkins try harder')
])
@brittanydionigi brittanydionigi changed the title Multiple jobs from issueComment trigger not working Multiple jobs from issueCommentTrigger not working Mar 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant