当我运行Play命令时,日志在终端中显示出很好的颜色和干净,但是当我在Jenkins中构建我的应用程序时,日志会显示颜色代码,令人难以理解.
命令行日志:
[info] ApplicationSpec
[info] Application should
[info] + send 404 on a bad request
[info] x render the index page
[error] '401' is not equal to '200' (ApplicationSpec.scala:25)
[info] Total for specification ApplicationSpec
[info] Finished in 134 ms
[info] 2 examples, 1 failure, 0 error
[error] Failed: Total 3, Failed 2, Errors 0, Passed 1
[error] Failed tests:
[error] ApplicationSpec
[error] IntegrationSpec
[error] (test:test) sbt.TestsFailedException: Tests unsuccessful
[error] Total time: 23 s, completed Mar 26, 2014 10:00:34 AM
Run Code Online (Sandbox Code Playgroud)
詹金斯记录: …