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 goals field, like this:
But it doesn't work. What am I doing incorrectly?
Note: I want to skip the tests without touching the pom. I have a separate build that DOES run the tests.
test
goal and you should be golden. – ddavisontest
goal in the above example? Or are you saying I'm specifying it somewhere else? – James Dunntest
goal, it shouldn't run the test. If you just specifyclean install
it's running the tests? if so, could you post the pom? – ddavisonclean install -DskipTests=true
. I had omitted the=true
. – James Dunn