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 From: Alex Domoradov [mailto:[email protected]] Sent: 19 April 2016 14:48 To: Jenkins Users <[email protected]> Cc: David Aldrich <[email protected]> Subject: Re: How to 'Discard old builds' without running job? You can use jenkins cli java -jar jenkins-cli.jar -s http://jenkins.example.net:8080/ delete-builds LARGE_JOB BUILD_NUMBER for e.g. java -jar jenkins-cli.jar -s http://jenkins.example.net:8080/ delete-builds test-job 10-20 On Tuesday, April 19, 2016 at 1:23:23 PM UTC+3, David Aldrich wrote: 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 Click here<https://www.mailcontrol.com/sr/W7u1A3zCXG3GX2PQPOmvUjDF5G4QKHNhj!ky277HXGsZckZkCjxU801LOFYk1bkUOpzDTo3yJQYhR!AbTPK7tQ==> to report this email as spam. -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/41302A7145AC054FA7A96CFD03835A0A0BAC34E2%40EX10MBX02.EU.NEC.COM. For more options, visit https://groups.google.com/d/optout.
