-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
Jenkins 2.107.2
Nexus Artifact uploader 2.10
If multiple SNAPSHOT artifact are specified:
nexusArtifactUploader (
artifacts: [[artifactId: "foo", file: "target/foo-1.0-SNAPSHOT.jar", type: "jar"],
[artifactId: "foo", file: "target/foo-1.0-SNAPSHOT.pom", type: "pom"]
],
credentialsId: 'ci-deploy-nexus',
groupId: "${group}",
nexusUrl: "${nexusUrl}",
nexusVersion: 'nexus3',
protocol: 'https',
repository: "snapshots",
version: "${version}"
}
Two snapshot version are created (one for the pom artifact and one for the jar artifact)