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
    • 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

              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: