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

trigger phrase not building the jenkins job if target branch is modified #465

Open
DilshadPt opened this issue Mar 22, 2017 · 0 comments
Open

Comments

@DilshadPt
Copy link

DilshadPt commented Mar 22, 2017

Hello Team,

ghrb version 1.33.1
jenkins version 2.7.4

I have a jenkins job which watches PR raised to a specific whitelisted target branch. I use ghprb for triggering builds for PR.
I use 'Whitelist target branch' for filtering PR 's to our default branch and trigger phrase for building the job.

Recently I saw this happening.
Steps:

  1. A PR raised with base branch as another branch (not whitelisted branch)
  2. commented the PR with trigger phrase and it didn't build the job as expected.
  3. PR was updated/modified with base branch as whitelisted branch
  4. commented the PR with trigger phrase, but job was not triggering. I tried commenting multiple times and tested the same on two PRs. But the job was not triggered.

I had to raise a new / duplicate PR with base branch as whitelisted branch to get it working.

Is this an expected behaviour or a bug ?

Thanks in Advance.

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