I ran into the issue described in this thread:
I can't see any errors in the console output of the build.
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 -xzf gpsd-3.10.tar.gz
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):
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.