Skip to content

Commit

Permalink
Use install in integration test, so it should find artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
definite committed Mar 14, 2017
1 parent 162deb4 commit ae00d0d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Jenkinsfile
Expand Up @@ -61,7 +61,7 @@ timestamps {

// Continue building even when test failure
// Thus -Dmaven.test.failure.ignore is required
sh """./run-clean.sh ./mvnw -e clean package jxr:aggregate\
sh """./run-clean.sh ./mvnw -e clean install jxr:aggregate\
--batch-mode \
--settings .travis-settings.xml \
--update-snapshots \
Expand Down Expand Up @@ -147,11 +147,12 @@ void integrationTests(String appserver) {
debugChromeDriver()

unstash 'workspace'
// TODO: Consider touching the target files for test, so it won't recompile
try {
xvfb {
withPorts {
// Run the maven build
sh """./run-clean.sh ./mvnw -e verify \
sh """./run-clean.sh ./mvnw -e install \
--batch-mode \
--settings .travis-settings.xml \
-Danimal.sniffer.skip=true \
Expand Down

0 comments on commit ae00d0d

Please sign in to comment.