Re: wipe out current workspace via REST API?

2014-01-21 Thread Daniel Beck
Not as a 'look, here's everything you can use like an API'. I've looked at the Javadoc, sources, or the web UI to find these in the past. Javadoc/sources example: You want to perform an action on a freestyle project. Go to javadoc.jenkins-ci.org and look for freestyle, and you'll find e.g.:

wipe out current workspace via REST API?

2014-01-20 Thread Craig Rodrigues
Hi, Is it possible to trigger wipe out current workspace from the REST API? I didn't see an obvious way to do it after reading https://wiki.jenkins-ci.org/display/JENKINS/Remote+access+API Thanks. -- Craig -- You received this message because you are subscribed to the Google Groups Jenkins

Re: wipe out current workspace via REST API?

2014-01-20 Thread Daniel Beck
What's wrong with /job/jobname/doWipeOutWorkspace ? On 20.01.2014, at 19:48, Craig Rodrigues rodr...@freebsd.org wrote: Hi, Is it possible to trigger wipe out current workspace from the REST API? I didn't see an obvious way to do it after reading

Re: wipe out current workspace via REST API?

2014-01-20 Thread Craig Rodrigues
Hi, Thanks, that worked great! After you mentioned this, I realized that I could look at the source code to the Jenkins web page to find functions like doWipeOutWorkspace. Are functions like this documented somewhere in the Jenkins docs online? -- Craig On Mon, Jan 20, 2014 at 11:17 AM, Daniel