大家好!构建步骤'执行Windows批处理命令'标记为失败。我该如何解决这个问题?
在詹金斯,当我尝试构建我的工作时,我在robocopy /mir pathSource pathDest
的配置 - >构建我的工作之前运行了一个批处理命令。但是当他执行命令时,他停止运行build.xml。因此,他在停止前命令批处理后打印此:
16:47:25 Ended : Mon Nov 07 16:47:25 2016
16:47:25
16:47:25 c:\jenkins_slave\workspace\********>exit 1
16:47:25 Build step 'Execute Windows batch command' marked build as failure
16:47:26 Sending e-mail to: *********** (launcher, owner).
16:47:26 Notifying upstream projects of job completion
16:47:26 Finished: FAILURE
我该如何解决这个问题?
您的代码段上方是否有更多日志输出?好像你错过了你发布的代码段中的错误信息。调试建议:您可以在Jenkins之外成功运行构建配置中的每个命令吗? –