Closed vasily-v-ryabov closed 2 years ago
The problem is that $WORKSPACE is set in Unstash() call inside runSteps() function. And it magically sets it to /home/jenkins/agent/workspace/dpcp-ci-demo in agent step (see http://hpc-master.lab.mtl.com:8080/blue/organizations/jenkins/dpcp-ci-demo/detail/dpcp-ci-demo/300/pipeline/254) but this path must be used for containers only.
/home/jenkins/agent/workspace/dpcp-ci-demo
With this fix the WORKSPACE is correct on agent and in containers: http://hpc-master.lab.mtl.com:8080/blue/organizations/jenkins/dpcp-ci-demo/detail/dpcp-ci-demo/301/pipeline/223
Please update tag "stable" as well.
The problem is that $WORKSPACE is set in Unstash() call inside runSteps() function. And it magically sets it to
/home/jenkins/agent/workspace/dpcp-ci-demo
in agent step (see http://hpc-master.lab.mtl.com:8080/blue/organizations/jenkins/dpcp-ci-demo/detail/dpcp-ci-demo/300/pipeline/254) but this path must be used for containers only.With this fix the WORKSPACE is correct on agent and in containers: http://hpc-master.lab.mtl.com:8080/blue/organizations/jenkins/dpcp-ci-demo/detail/dpcp-ci-demo/301/pipeline/223