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

Some symlinks are missing from the copied artifacts

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: copyartifact-plugin
    • Labels:
      None
    • Environment:
      Copy Artifact Plugin 1.37 on Jenkins 1.646, on Ubuntu 12.04
    • Similar Issues:

      Description

      Hi,

      I ran into the issue described in this thread:

      http://jenkins-ci.361315.n4.nabble.com/Strange-issue-with-copy-artifact-plugin-not-copying-everything-td4756314.html
      I can't see any errors in the console output of the build.

      Regards,
      Robert


      quotes from the thread

      I created a brand new freestyle job that ALL it does is copy the
      artifacts. The first time it is run, only 15 are copied. If I click build
      now again, then the missing ones are copied. If I delete the workspace,
      the same pattern happens again.

      In case anyone has thoughts, here is the parent job:

      Centos 6 installed packages:
      yum -y install gcc-c++ binutils scons chrpath tar python-devel

      Tar from:
      http://download-mirror.savannah.gnu.org/releases/gpsd/

      Build step:
      tar -xzf gpsd-3.10.tar.gz
      cd gpsd-3.10
      echo "env.Alias('myinstall', binaryinstall + headerinstall)" >> SConstruct
      scons prefix=$WORKSPACE/stage myinstall

      Archive artifacts: stage/*/

      This is my test job:

      Copy Artifact plugin
      Project name: libgps
      Which build: Latest successful build
      Target directory: libgps

      Missing files in libgps/stage/lib (Always the same):
      libgps.so
      libgps.so.21
      libgps.so.21.0

      As another workaround (besides running the job twice) you can add a second
      "Copy Artifacts" build step with the exact same settings and it will work.

        Attachments

          Activity

          frobert Robert Fekete created issue -
          ikedam ikedam made changes -
          Field Original Value New Value
          Description Hi,

          I ran into the issue described in this thread:

          http://jenkins-ci.361315.n4.nabble.com/Strange-issue-with-copy-artifact-plugin-not-copying-everything-td4756314.html
          I can't see any errors in the console output of the build.

          Regards,
          Robert
          Hi,

          I ran into the issue described in this thread:

          http://jenkins-ci.361315.n4.nabble.com/Strange-issue-with-copy-artifact-plugin-not-copying-everything-td4756314.html
          I can't see any errors in the console output of the build.

          Regards,
          Robert

          ----

          quotes from the thread
          {quote}
          I created a brand new freestyle job that ALL it does is copy the
          artifacts. The first time it is run, only 15 are copied. If I click build
          now again, then the missing ones are copied. If I delete the workspace,
          the same pattern happens again.

          In case anyone has thoughts, here is the parent job:

          Centos 6 installed packages:
          yum -y install gcc-c++ binutils scons chrpath tar python-devel

          Tar from:
          http://download-mirror.savannah.gnu.org/releases/gpsd/

          Build step:
          tar -xzf gpsd-3.10.tar.gz
          cd gpsd-3.10
          echo "env.Alias('myinstall', binaryinstall + headerinstall)" >> SConstruct
          scons prefix=$WORKSPACE/stage myinstall

          Archive artifacts: stage/**/*

          This is my test job:

          Copy Artifact plugin
          Project name: libgps
          Which build: Latest successful build
          Target directory: libgps

          Missing files in libgps/stage/lib (Always the same):
          libgps.so
          libgps.so.21
          libgps.so.21.0

          As another workaround (besides running the job twice) you can add a second
          "Copy Artifacts" build step with the exact same settings and it will work.
          {quote}
          ikedam ikedam made changes -
          Summary Some files are missing from the copied artifacts Some symlinks are missing from the copied artifacts
          ikedam ikedam made changes -
          Assignee ikedam [ ikedam ]
          ikedam ikedam made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          ikedam ikedam made changes -
          Status In Progress [ 3 ] Resolved [ 5 ]
          Assignee ikedam [ ikedam ] Robert Fekete [ frobert ]
          Resolution Fixed [ 1 ]
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 168524 ] JNJira + In-Review [ 198433 ]

            People

            • Assignee:
              frobert Robert Fekete
              Reporter:
              frobert Robert Fekete
            • Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: