How to view Jenkins workspace on a Pipeline job?

Ron Keidar picture Ron Keidar · Jun 11, 2015 · Viewed 62.5k times · Source

How can I view Jenkins workspace on a Pipeline job (it was called workflow job previously)? In a standard Job I could just go to the Job main page and view it by clicking on "Workspace".

Answer

sam picture sam · Oct 19, 2017
  1. Go to the Jenkins build
  2. On the left hand side click the Pipeline steps
  3. Then on the right click on the link that says "Allocate node : Start - (x min in block)"
  4. On the the left side click the workspace. Done!

The image below might help :

Workspace

Check out this link it shows how to get the workspace when you are using jenkins pipeline: https://www.selikoff.net/2016/07/10/workspace-jenkins-pipelines/