简体   繁体   English

当svn检出失败时,詹金斯工作会自行禁用

[英]Jenkins job disables itself when svn checkout fails

My jenkins jobs started to disable by themselves when the svn checkout fails. 当svn检出失败时,我的jenkins作业开始自行禁用。 I explored previous builds and they never disabled when failed. 我探索了以前的版本,并且在失败时也从未禁用过。 This new behaviour is not desired for me. 我不需要这种新行为。

The message in the new build log is as follows: 新的构建日志中的消息如下:

...
One or more repository locations do not exist anymore for myJob1, project will be disabled.
The project has been disabled
ERROR: Failed to parse svn info for 'repourl'
... 

I downgraded the jenkins Subversion plugin which was recently updated, and the multi scm plugin as well. 我降级了最近更新的jenkins Subversion插件,以及multi scm插件。 However, the problem remains. 但是,问题仍然存在。
Any suggestion? 有什么建议吗?

That message is coming from the Blame Subversion Plugin . 该消息来自Blame Subversion插件 Is it possible you recently installed that plugin? 您最近是否安装了该插件? Or that you recently turned on SVN blame as an option? 还是您最近将SVN责备作为选择?

I think this is an undocumented(?) behavior of the Subversion Plugin to automatically disable a job if the SVN URL is not valid (anymore). 我认为这是Subversion插件的未记录(?)行为,如果SVN URL无效(不再),该行为将自动禁用作业。 This behavior seems to be implemented for several years now, as this discussion from 2012 indicates. 正如2012年的讨论所示,这种行为现在似乎已经实施了好几年。 I just learned about this behavior only after moving a SVN project to a different folder which caused my project to be disabled. 我只是在将SVN项目移动到另一个导致禁用我的项目的文件夹后才了解这种行为。 I did not find any information on how to disable this behavior. 我没有找到有关如何禁用此行为的任何信息。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM