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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • copyartifact-plugin
    • None
    • Jenkins 1.492, Copy Artifact Plugin 1.25

      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!

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

              Created:
              Updated:
              Resolved: