jenkins: ensure batch mode and always update snapshots
This commit is contained in:
parent
41fa2bcbe5
commit
ffdc554c60
1 changed files with 2 additions and 2 deletions
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
|
@ -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'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue