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

Some symlinks are missing from the copied artifacts

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • copyartifact-plugin
    • None
    • Copy Artifact Plugin 1.37 on Jenkins 1.646, on Ubuntu 12.04

      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.

          [JENKINS-32832] Some symlinks are missing from the copied artifacts

          Robert Fekete created issue -
          ikedam made changes -
          Description Original: 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
          New: 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 made changes -
          Summary Original: Some files are missing from the copied artifacts New: Some symlinks are missing from the copied artifacts
          ikedam made changes -
          Assignee New: ikedam [ ikedam ]
          ikedam made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          ikedam made changes -
          Assignee Original: ikedam [ ikedam ] New: Robert Fekete [ frobert ]
          Resolution New: Fixed [ 1 ]
          Status Original: In Progress [ 3 ] New: Resolved [ 5 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 168524 ] New: JNJira + In-Review [ 198433 ]
          ikedam made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]

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

              Created:
              Updated:
              Resolved: