Upload multiple SNAPSHOT artifact

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Major
    • None
    • Environment:
      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)

            Assignee:
            Suresh Kumar
            Reporter:
            Matteo Turra
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: