myworkspace is created as myworkspace@3

10 views
Skip to first unread message

Subhadra Chevuri

unread,
Dec 30, 2021, 9:24:08 AM12/30/21
to Jenkins Users
Hello Team,

I am facing issue as my workspace is created with @3 in the ending.
Because of change in workspace name my Jenkins build is  failed as i am using the workspace path in Jenkins pipeline.

please provide the solution if any 

Thanks and Regards
Subhadra

gma...@gmail.com

unread,
Dec 30, 2021, 9:49:45 AM12/30/21
to jenkins...@googlegroups.com

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.

Reply all
Reply to author
Forward
0 new messages