Currently i am using Jenkins pipeline script.
For running one command, I need to access a folder outside its workspace directory.
I tried sh "cd $workspace/"
, but it returned current workspace folder.
How I can change to root workspace directory and then cd to another folder. Please help.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…