Skip to content
Permalink
Browse files
Forcing cleaning before deploy
  • Loading branch information
jcabrerizo committed Sep 8, 2021
1 parent 3791546 commit 4fa3b8266162c2f26c119de329971522ae4aaacb
Showing 1 changed file with 1 addition and 1 deletion.
@@ -53,7 +53,7 @@ node(label: 'ubuntu') {
if (env.CHANGE_ID == null) {
stage('Deploy artifacts') {
environmentDockerImage.inside('-i --name brooklyn-${DOCKER_TAG} -v ${WORKSPACE}/.m2:/var/maven/.m2 --mount type=bind,source="${HOME}/.m2/settings.xml",target=/var/maven/.m2/settings.xml,readonly -v ${WORKSPACE}:/usr/build -w /usr/build') {
sh 'mvn deploy -DskipTests -Duser.home=/var/maven -Duser.name=jenkins'
sh 'mvn clean deploy -DskipTests -Duser.home=/var/maven -Duser.name=jenkins'
}
}
}

0 comments on commit 4fa3b82

Please sign in to comment.