I want to use the Shared Workspace plugin, so I set up the following key/value pair in my Manage Jenkins -> Configure System -> Workspace Sharing
Name: sandbox-workspace
Repository URL: [email protected]:mycompany/myrepo.git
Now I want to share the above workspace between two separate pipeline jobs Job1
and Job2
, where Job1
triggers Job2
so they're guaranteed to never run concurrently. Each job may/can run on different nodes. What is the pipeline syntax for using the above shared workspace?