Jenkins pipeline job not triggered sometimes with option "Build after other projects are built"

51 views
Skip to first unread message

ok999

unread,
May 4, 2016, 3:04:39 PM5/4/16
to Jenkins Users
I have a job of the type pipeline. I want this to trigger whenever their is a change in the SCM. Since the option to poll an SCM was not available with the pipeline. There is a job that polls the scm every 5mins. This job is set as the reference and i have enabled the option, 

"Build after other projects are built" 

in the pipeline job setup. 

But this is intermittently failing. The pipeline will not get triggered even after the other job completes . The only way to get this working is to disable the option "Build after other projects are built"  and then to re-enable this option. 

Is this a known issue? Should i be setting a POST BUILD task to trigger the pipeline on the job that polls the SCM?

Reply all
Reply to author
Forward
0 new messages