Update Jenkinsfile

Make sure that the main jar does not have an additional classifier to mention within pom.xml's
pull/3/head
Hammy 3 years ago
parent 303083ff4b
commit f58ba047a3

2
Jenkinsfile vendored

@ -58,7 +58,7 @@ pipeline {
repository: NEXUS_REPOSITORY, repository: NEXUS_REPOSITORY,
credentialsId: NEXUS_CREDENTIAL_ID, credentialsId: NEXUS_CREDENTIAL_ID,
artifacts: [ artifacts: [
[artifactId: pom.artifactId, classifier: 'normal', file: jarArtifact, type: pom.packaging], [artifactId: pom.artifactId, classifier: '', file: jarArtifact, type: pom.packaging],
[artifactId: pom.artifactId, classifier: 'javadocs', file: javadocsArtifact, type: pom.packaging], [artifactId: pom.artifactId, classifier: 'javadocs', file: javadocsArtifact, type: pom.packaging],
[artifactId: pom.artifactId, classifier: 'sources', file: jarWithSourcesArtifact, type: pom.packaging], [artifactId: pom.artifactId, classifier: 'sources', file: jarWithSourcesArtifact, type: pom.packaging],
[artifactId: pom.artifactId, classifier: '', file: "pom.xml", type: "pom"] [artifactId: pom.artifactId, classifier: '', file: "pom.xml", type: "pom"]

Loading…
Cancel
Save