I have a simple pipeline job to: 1) checkout a git branch 2) cd to a run directory 3) execute an existing script to run tests
stage 'build' node {
git url: 'git@hd1:nip_5g_fpga', branch: "Phase_UL_1a" sh "pwd" sh "echo $PATH" sh "ls" dir ('nip_fpga/verification/src/UE/env/top_level/run') { sh "source vcs_bash.sh 1" }
}
Running
in /var/lib/jenkins/workspace/nip_regression_nightly/nip_fpga/verification/src/UE/env/top_level/run
[Pipeline] {
[Pipeline] sh
[run] Running shell script
+ source vcs_bash.sh 1
/var/lib/jenkins/workspace/nip_regression_nightly/nip_fpga/verification/src/UE/env/top_level
I have checked that vcs_bash.sh itself exists but it exists in .../top_level/run directory and not in top_level/run@tmp directory. So, I am confused how to get around this.
Also, I don't understand the concept of tmp directory that pipeline is creating