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

Some symlinks are missing from the copied artifacts

XMLWordPrintable

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

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

              Created:
              Updated:
              Resolved: