Status: In Review (View Workflow)
Environment:Ubuntu 14.04.5 LTS (jenkins installed via debian)
Git plugin 3.0.0
Pipeline SCM Step 2.2
Pipeline Stage Step 2.2
I work in bitbucket which uses a hook to notify our jenkins server on commit (or if manually triggered in a pull request). I've noticed that, when I make a new pipeline job from SCM (git), onNotifyCommit won't look at the new job until after I've manually run the job and it has completed.
A bit more details on the job:
- I did specify an empty poll interval, which allowed my other maven jobs to be properly notified.
- I haven't specified any additional behaviors
Since the job has the SCM information built directly into the pipeline job, shouldn't onNotifyCommit properly find and notify the new job without needing execution?