Hi
We have a large job that has no 'Discard old builds' setting.
I want to set 'Discard old builds' to a sensible value and action it, to delete some old builds, without actually running the job. Is that possible?
Best regards
David
Hi Alex
Thanks for your reply.
$ java -jar /var/lib/jenkins/war/WEB-INF/jenkins-cli.jar -s http://localhost:8090/jenkins/ delete-builds Check_svn_config 1514-1515
ERROR: No such job 'Check_svn_config'
I do have a job called 'Check_svn_config'. It’s in a certain folder. Do I have to specify a path for it?
Best regards
David
Click here to report this email as spam.
Hi Alex
This isn’t working for me. I see:
$ java -jar /var/lib/jenkins/war/WEB-INF/jenkins-cli.jar -s http://localhost:8090/jenkins/ list-jobs --username=daldrich
Check_svn_config
$ java -jar /var/lib/jenkins/war/WEB-INF/jenkins-cli.jar -s http://localhost:8090/jenkins/ delete-builds Check_svn_config 1514-1515 --username=daldrich
ERROR: No such job 'Check_svn_config'
Any idea why please?
David
--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-users/8a5a84e2-698d-43a3-ae34-59633bcfd687%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
1.656
Got the same result:
ERROR: No such job 'test'