0

We have setup multiple multibranch pipeline projects. When clicking on the button 'Scan Multibranch Pipeline Now' all jobs are triggered and built again. It does not matter whether or not there are changes, every job will just start building.

When everything is build and manually scan again, it works as expected and only changed jobs are built.

Running on Jenkins 2.164.2.

Changes detected: master (null -> b95ffd48bf9fd032004e150ae4188cf48d3c28b2)
Scheduled build for branch: master

We expect only the changed branches will be built again.

Gertray
  • 25
  • 7

1 Answers1

0

We ran into the same issue some time ago, but then I found this issue: https://issues.jenkins-ci.org/browse/JENKINS-57588

Can you check if you have the same version of that plugin (Branch API 2.5.0) running in your Jenkins instance?

Upgrading Branch API plugin the newest version 2.5.2 (already fixed in 2.5.1) fixed the problem.

Unforgettable631
  • 940
  • 6
  • 10