Skip tests in Jenkins

前端 未结 4 1967
逝去的感伤
逝去的感伤 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条回答
  •  旧时难觅i
    2021-02-05 04:53

    I use option "-DskipTests=true" in "Invoke top-level Maven target" -> "JVM Options" and it works fine.

提交回复
热议问题