Skip to content

Commit

Permalink
Remove all versions of current artifact when clearing build cache
Browse files Browse the repository at this point in the history
  • Loading branch information
chrylis committed Jul 12, 2018
1 parent 8dc29e7 commit 4f50269
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vars/nginPullRequestPipeline.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def call(Map parameters = [:]) {
steps {
script {
echo 'This is a validation build; deleting build artifacts from Maven cache.'
artifactoryMavenBuild pom: 'pom.xml', goals: '-Dbuildhelper.removeAll=false build-helper:remove-project-artifact', mavenBuild: rtMaven, buildInfo: buildInfo
artifactoryMavenBuild pom: 'pom.xml', goals: '-Dbuildhelper.removeAll=true build-helper:remove-project-artifact', mavenBuild: rtMaven, buildInfo: buildInfo
}
}
}
Expand Down

0 comments on commit 4f50269

Please sign in to comment.