I am trying to clean up multiple workspaces created by a job that is allowed to run concurrently on a dumb node. I see no consistent facility to cleanup all the workspaces in the GUI. Thus, I need to script it. But now I see that the API is inconsistent also. OK, I will have to try guess the paths then, and hope I am right.
Is there any way for the secondary workspaces not to get a @<number> suffix? i.e. what other suffices do I have to look out for? Cheers Artur ________________________________________ From: [email protected] <[email protected]> on behalf of Jesse Glick <[email protected]> Sent: 06 September 2017 00:10:34 To: Jenkins Dev Subject: Re: Getting all workspace paths You would have to append the suffix yourself. Probably you should not be attempting this to begin with. Consider cloud agents with transient workspaces, etc. What are you ultimately trying to accomplish? -- You received this message because you are subscribed to the Google Groups "Jenkins Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]<mailto:[email protected]>. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/CANfRfr3SvPwq%2BkrSFGoV%3DNJj9CgGGfuV-NAcYeAEdEg1Gd_dWA%40mail.gmail.com<https://groups.google.com/d/msgid/jenkinsci-dev/CANfRfr3SvPwq%2BkrSFGoV%3DNJj9CgGGfuV-NAcYeAEdEg1Gd_dWA%40mail.gmail.com?utm_medium=email&utm_source=footer>. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "Jenkins Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/f0a61ae7db9842c3aad8e610d61c7c72%40partner.eso.org. For more options, visit https://groups.google.com/d/optout.
