Reputation: 1302
Jenkins scm polling doesn't detect changes if we use parameter(environment variable) in branch field. Note that the environment variable is coming from the pipeline config and the job which does scm polling is part of the pipeline.
I'm using git plugin git-2.5.0-beta5
Upvotes: 1
Views: 3073
Reputation: 568
I spent 1.5 weeks on the same issue. There two ways for (in fact, only one) to build multibranch projects:
I hope this answer will save a couple of hours to next researchers.
Upvotes: 1
Reputation: 36
Its a issue with Jenkins. The parameters are not set during polling. try this WA.
Upvotes: 0