Jenkins: SCM triggering constant builds despite no change

前端 未结 5 1087
一个人的身影
一个人的身影 2021-02-02 10:55

We have a problem where despite no code changes SCM is triggering a build. SCM polls for changes every 15 minutes and should only trigger a build if changes are found.

H

5条回答
  •  走了就别回头了
    2021-02-02 11:24

    Seems to be reproducible with latest Jenkins GIT plugin version 2.0.

    Downgrade to version 1.x may fix the problem. Though you should also revert Jenkins configuration from older backup as GIT plugin version 1.x seems to be not working with new 2.0 configuration scheme.

    This thread suggests to enable "Fast remote polling" as a workaround. In version 2.0 it's called "Force polling using workspace" I think.

    Reference to Jenkins issue: https://issues.jenkins-ci.org/browse/JENKINS-20767

提交回复
热议问题