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

Promotion operations occurs on slave and not master where artifacts are located.

    Details

    • Similar Issues:

      Description

      There is no way to copy the artifacts as a promotion to another directory. When using existing plugins (promotion + scp) the jobs execute on the wrong slave.

      What I really want is the archived artifact from the master (not the masters workspace, or the original slaves workspace, but what the master serves from the UI) to be copied into another directory.

      Background:

      The artifacts from hudson are so large that we can no longer back them up across a single 60GB tape. So we want to promote specific QA-approved artifacts and copy them to another directory which IS backed up. The ability to delete artifacts while retaining metadata would also be helpful, but is unsafe and destructive rather than making another copy in a separate location.

        Attachments

          Activity

          Hide
          jlongman jlongman added a comment -

          I'll try your workaround.

          Show
          jlongman jlongman added a comment - I'll try your workaround.
          Hide
          jlongman jlongman added a comment -

          I can't test the workaround: the job is a matrix job and it looks like CopyArtifact plugin is not getting the artifacts successfully.

          Copied 0 artifacts from 3.1.0 #93
          failed build hudson.plugins.copyartifact.CopyArtifact@399e7660 SUCCESS
          

          To be clear my config for CopyArtifacts is the host project and the file selector */archive.tgz. I tried using 3.1.0/PRODUCT=$PRODUCT for the project specifier, as the CopyArchive plugin suggests, but of course the promotion isn't a matrix. MAYBE Aggregate the Archived Artifacts will grab this, or another plugin. Matrix jobs seem to have problems.

          It is also difficult without being able to grab the original build number since obviously I want to promote the promoted jobs artifacts, but that is a separate issue.

          Show
          jlongman jlongman added a comment - I can't test the workaround: the job is a matrix job and it looks like CopyArtifact plugin is not getting the artifacts successfully. Copied 0 artifacts from 3.1.0 #93 failed build hudson.plugins.copyartifact.CopyArtifact@399e7660 SUCCESS To be clear my config for CopyArtifacts is the host project and the file selector * /archive .tgz . I tried using 3.1.0/PRODUCT=$PRODUCT for the project specifier, as the CopyArchive plugin suggests, but of course the promotion isn't a matrix. MAYBE Aggregate the Archived Artifacts will grab this, or another plugin. Matrix jobs seem to have problems. It is also difficult without being able to grab the original build number since obviously I want to promote the promoted jobs artifacts, but that is a separate issue.
          Hide
          mindless Alan Harder added a comment -

          Make sure you tell CopyArtifacts the particular matrix configuration to pull from (click the help icon for info about this), and make sure the selector is valid..

          Show
          mindless Alan Harder added a comment - Make sure you tell CopyArtifacts the particular matrix configuration to pull from (click the help icon for info about this), and make sure the selector is valid..
          Hide
          petehayes Peter Hayes added a comment -

          Seems like this is probably not an issue and further. I will close if not.

          Show
          petehayes Peter Hayes added a comment - Seems like this is probably not an issue and further. I will close if not.
          Hide
          stigkj Stig Kleppe-Jørgensen added a comment -

          Seems the workaround is good enough, so closing this issue as 'won't fix'.

          Show
          stigkj Stig Kleppe-Jørgensen added a comment - Seems the workaround is good enough, so closing this issue as 'won't fix'.

            People

            • Assignee:
              Unassigned
              Reporter:
              jlongman jlongman
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: