詹金斯失败但cmd运行没有错误

时间:2016-01-23 19:01:45

标签: jenkins rake

从Jenkins运行以下脚本时得到dif结果:

C:/Ruby21-x64/bin/ruby.exe -I'C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/rspec-support-3.4.1/lib';'C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/rspec-core-3.4.1/lib' 'C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/rspec-core-3.4.1/exe/rspec' --pattern 'spec/**/*_spec.rb'
.

Finished in 0.001 seconds (files took 0.87208 seconds to load)
1 example, 0 failures

看不到错误代码,也不知道发生了什么:

C:\Program Files (x86)\Jenkins\workspace\Rake_test>exit 0 
[RubymineProjects] $ C:\Ruby21-x64\bin\rake.bat --rakefile C:\Users\user\RubymineProjects\Rake_test\Rakefile.rb
C:\Ruby21-x64\bin -I'C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/rspec-support-3.4.1/lib';'C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/rspec-core-3.4.1/lib' 'C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/rspec-core-3.4.1/exe/rspec' --pattern 'spec/**/*_spec.rb' failed
C:\Ruby21-x64\bin -I'C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/rspec-support-3.4.1/lib';'C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/rspec-core-3.4.1/lib' 'C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/rspec-core-3.4.1/exe/rspec' --pattern 'spec/**/*_spec.rb'
Build step 'Invoke Rake' marked build as failure
Finished: FAILURE

有什么想法吗?

0 个答案:

没有答案