Skip tests in Jenkins

前端 未结 4 1950
逝去的感伤
逝去的感伤 2021-02-05 04:15

I\'ve set up a build on Jenkins for a Maven project, and I would like to build it without running any of the tests. I\'ve tried entering \"clean install -DskipTests\" in the go

4条回答
  •  无人及你
    2021-02-05 05:01

    The problem is that I omitted =true. I was able to build without running tests by entering:

    clean install -DskipTests=true
    

提交回复
热议问题