Jenkins: SCM triggering constant builds despite no change

前端 未结 5 1095
一个人的身影
一个人的身影 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:19

    Be carefull with svn redirections, in my case i had the same case Jenkins could not detect if svn has no changes and allways was triggering.

    The problem was that in my jenkins svn configuration had this url:

    https://xxxx.yyy.es:443/svn/myproject/trunk and its redirect to

    http://xxxx.yyy.es:8008/svn/myproject/trunk (i dont know why)

    Jenkins had to be configured with the last URL in order to detect the svn changes properly.

    This is my issue Resolved.

    http://antuansoft.blogspot.com.es/2014/10/jenkins-pool-smc-always-detect-changes.html

提交回复
热议问题