为什么詹金斯即使没有SVN改变,也会触发IVY?
我有一个Jenkins的工作,每五分钟轮询一次SVN进行更改。 我看到奇怪的行为,即使日志清楚地表明自上次调查以来没有SCM变化。 Jenkins解析单个ivy.xml文件,并调用每个build.xml文件。 构建文件然后编译Jenkins工作区中已经签出的代码,然后发布一个1.0快照的jar制品给IVY。 这基本上是向IVY发布一个相同的快照。 试图理解为什么詹金斯继续解析常春藤文件,即使没有发现SCM变化。
该作业的日志输出如下所示。
Started by user anonymous
[EnvInject] - Loading node environment variables.
Building in workspace C:SoftwareJenkinsworkspaceSnapshots
Updating svn://*****/Project1 at revision '2016-08-04T09:04:38.318 +0100'
At revision 3570
Updating svn://*****/Project2 at revision '2016-08-04T09:04:38.318 +0100'
At revision 3570
Updating svn://*****/Project3 at revision '2016-08-04T09:04:38.318 +0100'
At revision 3570
Updating svn://*****/Project4 at revision '2016-08-04T09:04:38.318 +0100'
At revision 3570
Updating svn://*****/Project5 at revision '2016-08-04T09:04:38.318 +0100'
At revision 3570
Updating svn://*****/Project6 at revision '2016-08-04T09:04:38.318 +0100'
At revision 3570
Updating svn://*****/Project7 at revision '2016-08-04T09:04:38.318 +0100'
At revision 3570
Updating svn://*****/Project8 at revision '2016-08-04T09:04:38.318 +0100'
At revision 3570
Updating svn://*****/Project9 at revision '2016-08-04T09:04:38.318 +0100'
At revision 3570
no change for svn://*****/Project1 since the previous build
no change for svn://*****/Project2 since the previous build
no change for svn://*****/Project3 since the previous build
no change for svn://*****/Project4 since the previous build
no change for svn://*****/Project5 since the previous build
no change for svn://*****/Project6 since the previous build
no change for svn://*****/Project7 since the previous build
no change for svn://*****/Project8 since the previous build
no change for svn://*****/Project9 since the previous build
Parsing Ivy Descriptor Files
Triggering com.****:ivy1
Triggering com.****:ivy2
Triggering .....
Finished: SUCCESS
任何指针欢迎。
由用户“匿名”启动您可以确认是否存在安全设置,而不是每个人都可以手动触发构建。 “匿名”表示有人正在手动触发构建。
链接地址: http://www.djcxy.com/p/54955.html上一篇: Why is Jenkins triggering IVY build even though no SVN change?