From ffdc554c602405f91458d9f2dc29218b43b84153 Mon Sep 17 00:00:00 2001 From: Paul Campbell Date: Sat, 24 Feb 2018 20:39:51 +0000 Subject: [PATCH] jenkins: ensure batch mode and always update snapshots --- Jenkinsfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 2bdcaa8..5a3b95a 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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' } } }