TA的每日心情 | 开心 2017-9-1 09:35 |
---|
签到天数: 29 天 连续签到: 1 天 [LV.4]测试营长
|
4#
楼主 |
发表于 2017-8-4 11:37:06
|
只看该作者
在 Execute shell中增加了 touch *.xml
BUILD SUCCESSFUL
Total time: 17 seconds
[资产管理系统] $ sh -xe "D:\Program Files (x86)\Apache Software Foundation\tomcat7_80\temp\hudson8301736615692989189.sh"
FATAL: command execution failed
java.io.IOException: Cannot run program "sh" (in directory "E:\JENKINS\workspace\资产管理系统"): CreateProcess error=2, ?????????
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
at hudson.Proc$LocalProc.<init>(Proc.java:245)
at hudson.Proc$LocalProc.<init>(Proc.java:214)
at hudson.Launcher$LocalLauncher.launch(Launcher.java:846)
at hudson.Launcher$ProcStarter.start(Launcher.java:384)
at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:108)
at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:65)
at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:779)
at hudson.model.Build$BuildExecution.build(Build.java:205)
at hudson.model.Build$BuildExecution.doRun(Build.java:162)
at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:534)
at hudson.model.Run.execute(Run.java:1728)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:98)
at hudson.model.Executor.run(Executor.java:404)
Caused by: java.io.IOException: CreateProcess error=2, ?????????
at java.lang.ProcessImpl.create(Native Method)
at java.lang.ProcessImpl.<init>(ProcessImpl.java:189)
at java.lang.ProcessImpl.start(ProcessImpl.java:133)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1021)
... 15 more
Build step 'Execute shell' marked build as failure
Recording test results
ERROR: Step ‘Publish JUnit test result report’ failed: Test reports were found but none of them are new. Did tests run?
For example, E:\JENKINS\workspace\资产管理系统\build.xml is 1 day 16 小时 old
Sending e-mails to: 1261688479@qq.com
Finished: FAILURE |
|