jenkins: ensure batch mode and always update snapshots

This commit is contained in:
Paul Campbell 2018-02-24 20:39:51 +00:00
parent 41fa2bcbe5
commit ffdc554c60

4
Jenkinsfile vendored
View file

@ -9,14 +9,14 @@ pipeline {
extensions: [[$class: 'CleanBeforeCheckout']],
userRemoteConfigs: [[credentialsId: 'github-kemitix', url: 'git@github.com:kemitix/conditional.git']]
])
sh './mvnw clean install'
sh './mvnw -B -U clean install'
junit '**/target/surefire-reports/*.xml'
archiveArtifacts '**/target/*.jar'
}
}
stage('Deploy') {
steps {
sh './mvnw -Dskip-Tests=true -P release -B deploy'
sh './mvnw -B -Dskip-Tests=true -P release deploy'
}
}
}