Skip to content
This repository has been archived by the owner on Jul 7, 2022. It is now read-only.

Commit

Permalink
[build] disable Jenkins artifactPublisher
Browse files Browse the repository at this point in the history
  • Loading branch information
cmark committed Mar 26, 2020
1 parent 99acc86 commit c362c62
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@ node('docker') {
stage('Build') {

if (!custom_maven_settings.isEmpty()) {
withMaven(jdk: 'OpenJDK 11', maven: 'Maven 3.6.0', mavenSettingsConfig: custom_maven_settings, options: [artifactsPublisher()], publisherStrategy: 'EXPLICIT') {
withMaven(jdk: 'OpenJDK 11', maven: 'Maven 3.6.0', mavenSettingsConfig: custom_maven_settings, options: [artifactsPublisher(disabled: true)], publisherStrategy: 'EXPLICIT') {
sh "mvn clean deploy -Dmaven.test.skip=${skipTests} -Dmaven.install.skip=true -Dtycho.localArtifacts=ignore"
}
} else {
withMaven(jdk: 'OpenJDK 11', maven: 'Maven 3.6.0', options: [artifactsPublisher()], publisherStrategy: 'EXPLICIT') {
withMaven(jdk: 'OpenJDK 11', maven: 'Maven 3.6.0', options: [artifactsPublisher(disabled: true)], publisherStrategy: 'EXPLICIT') {
sh "mvn clean deploy -Dmaven.test.skip=${skipTests} -Dmaven.install.skip=true -Dtycho.localArtifacts=ignore"
}
}
Expand Down

0 comments on commit c362c62

Please sign in to comment.