Pipeline - file not found error

10 views
Skip to first unread message

Sharan Basappa

unread,
Feb 13, 2017, 12:51:56 PM2/13/17
to Jenkins Users

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

The pipeline script itself is very simple at this point:

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" }
}


When I run this, I get the following error (showing only a part of the console):

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

Reply all
Reply to author
Forward
0 new messages