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 $wor
sh \"cd $wor
You can use the dir step, example:
dir("folder") { sh "pwd" }
The folder can be relative or absolute path.
folder