Mellanox / ci-demo

Apache License 2.0
2 stars 19 forks source link

Fix WORKSPACE value (it is set in run_step() correctly) #68

Closed vasily-v-ryabov closed 2 years ago

vasily-v-ryabov commented 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.

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

vasily-v-ryabov commented 2 years ago

Please update tag "stable" as well.