Hi Subhadra,
Hard to guess what you are doing wrong without further details.
So, at the moment, I could only guess that you are not using the WORKSPACE environment variable.
https://www.jenkins.io/doc/book/pipeline/jenkinsfile/#using-environment-variables
Cheers,
Gianluca.
--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/b629bd24-2491-4f34-ba57-46f45d213b98n%40googlegroups.com.