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
just add a link using the manager.addShortText and manager.createSummary to the workspace in your pipeline job.
It simple.
if your Job in in a folder the path just changes the Foldername little
node("someslave")
{
stage("Create workspace link")
{
def Foldername = JOB_NAME;
def theString = "Workspace";
manager.addShortText(theString, "blue", "white", "0px", "white");
manager.createSummary("green.gif").appendText("" + theString + "
", false, false, false, "blue");
}
}