cloudbees / jenkins-scripts

MIT License
683 stars 411 forks source link

CleanBuildHistory entire jobs in jenkins #123

Open dsakilesh opened 4 years ago

dsakilesh commented 4 years ago

Hi @joshshinn

I want to clean all the folders in the jenkins, including the Home page with the below script

https://github.com/cloudbees/jenkins-scripts/blob/master/CleanBuildHistory.groovy

What is the value we need to define for jobName ?

Thanks in advance!

bitwiseman commented 4 years ago

The full job name: https://github.com/cloudbees/jenkins-scripts/blob/a20d2bf73765d863f9ceb1eb650cb09c717a2be3/CleanBuildHistory.groovy#L5-L6