Hi , I guess Workslow step does not create the workspace unless any write activity is done in the workspace . I gues node{} does not create workspace. I see Jenkins issue which is open https://issues.jenkins-ci.org/browse/JENKINS-56867?page=com.atlassian.jira.plugin.system.issuetabpanels%3Achangehistory-tabpanel
i have two steps one copies the file in workspace during the run which works fine , the other step which does not do anything if i use it i always get below error Process working directory '/home/nbhoski/.jenkins/workspace/command_pipeline' doesn't exist! Script is : pipeline { agent any environment { PATH = "${PATH}:/usr/local/TOOL/bin" } stages{ stage('Run Tests') { steps { runCommand('pwd') } } } } Same will work if cpoy or touch some file in workspace. Is it a known issue or any recommendation ? Regards Nikhil -- You received this message because you are subscribed to the Google Groups "Jenkins Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-dev+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/8c2c9ec0-6989-4ee9-8ca9-75daaa41800f%40googlegroups.com.