How do I make Jenkins build fail when Maven unit tests fail?

后端 未结 3 2062
粉色の甜心
粉色の甜心 2020-12-08 13:06

I\'m using Jenkins, Maven 3.1, and Java 1.6. I have the following Maven job set up in Jenkins with the following goals and options ...

clean install -U -P c         


        
3条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-08 13:43

    Use Text Finder plugin. Configure it to look for There are test failures and downgrade the build to FAILED

提交回复
热议问题