Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-16028

COPYARTIFACT_BUILD_NUMBER_ is not set when copyartifact plugin is ran as Maven pre-build

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: copyartifact-plugin
    • Labels:
      None
    • Environment:
      Jenkins 1.492, Copy Artifact Plugin 1.25
    • Similar Issues:

      Description

      Create a freestyle build with 2 steps:
      1. Copy artifacts from another project (pick a random project and filename, set it to optional, Latest successful build)
      2. Execute Shell (contents: "set" - should work on windows/unix)
        RESULT: Shows COPYARTIFACT_BUILD_NUMBER_(project name) set as described
      Create a maven build with 2 pre-build steps:
      1. Copy artifacts from another project (pick a random project and filename, set it to optional, Latest successful build)
      2. Execute Shell (contents: "set" - should work on windows/unix)
        RESULT: DOES NOT SHOW COPYARTIFACT_BUILD_NUMBER_(project name) Set!

      Hopefully this is an easy and quick fix...thanks!

        Attachments

          Issue Links

            Activity

            adam_rofer Adam Rofer created issue -
            adam_rofer Adam Rofer made changes -
            Field Original Value New Value
            Assignee Alan Harder [ mindless ]
            mindless Alan Harder made changes -
            Assignee Alan Harder [ mindless ]
            ikedam ikedam made changes -
            Assignee ikedam [ ikedam ]
            ikedam ikedam made changes -
            Link This issue is related to JENKINS-18762 [ JENKINS-18762 ]
            ikedam ikedam made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            ikedam ikedam made changes -
            Status In Progress [ 3 ] Resolved [ 5 ]
            Resolution Fixed [ 1 ]
            ikedam ikedam made changes -
            Status Resolved [ 5 ] Closed [ 6 ]
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 146830 ] JNJira + In-Review [ 206287 ]

              People

              • Assignee:
                ikedam ikedam
                Reporter:
                adam_rofer Adam Rofer
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: