I'm pretty new at this, but I'm stumped.
Here is my stage block
stage('Test') {
steps {
echo 'Testing ${env.JOB_NAME}:${env.BUILD_ID} on
${env.JENKINS_URL}..'
sh """
docker run -v /tmp/work/report:/report
${env.REPO}:${env.BUILD_ID} ./manage.py jenkins --enable-coverage
--output-dir=/report
ls /work/report
cat /work/report/*.xml
"""
archiveArtifacts artifacts: '/work/report/*.xml'
// junit '/work/report/*.xml'
}
}
The files are present in the 'sh' block, as the output of the ls and cat
show. However, in the next step 'archiveArtifacts' and (if I enable it)
junit, the files are not found. What am I missing?
Thanks in advance,
Berndt
--
You received this message because you are subscribed to the Google Groups
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-users/cf6085f6-fc89-402e-8fc9-867be56faea6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.