Re: "keep this build forever" via rest api?

2022-07-25 Thread LnT
Thanks a lot. This works. *java -jar jenkins-cli.jar keep-build * On Friday, July 22, 2022 at 6:52:56 PM UTC+5:30 dheinric wrote: > Am Freitag, dem 22.07.2022 um 05:00 -0700 schrieb LnT: > > I get gone with toggleLogKeep in My old Jenkins ver. 2.190.1 >

Re: "keep this build forever" via rest api?

2022-07-22 Thread 'Dirk Heinrichs' via Jenkins Users
Am Freitag, dem 22.07.2022 um 05:00 -0700 schrieb LnT: I get gone with toggleLogKeep in My old Jenkins ver. 2.190.1 Now upgraded to Jenkins

Re: "keep this build forever" via rest api?

2022-07-22 Thread LnT
Hello Team, Thanks for the inputs. I get gone with toggleLogKeep in My old Jenkins ver. 2.190.1 Now upgraded to Jenkins 2.332.3 Stopped now with *ERROR 403 No valid crumb was included in the request* what could be the issue ? Thanks in Advance.

Re: keep this build forever via rest api?

2013-02-04 Thread Chris Withers
Hi Bruno, On 02/02/2013 14:43, Bruno Cunha wrote: The /toggleLogKeep URL in the job can do that. For example: http://[url]/job/[JOB-NAME]/20/toggleLogKeep This URL will change the lock status of the build 20. Thanks for this, it's almost what I want. The problem with the above is that I

Re: keep this build forever via rest api?

2013-02-02 Thread Bruno Cunha
Hello Chris. The /toggleLogKeep URL in the job can do that. For example: http://[url]/job/[JOB-NAME]/20/toggleLogKeep This URL will change the lock status of the build 20. There's an interesting thing that you can use too: you can list all the keep forever builds by using this URL: http://

keep this build forever via rest api?

2013-01-31 Thread Chris Withers
Hi All, What url would I hit to make sure a build of a job is marked as keep forever? Chris -- Simplistix - Content Management, Batch Processing Python Consulting - http://www.simplistix.co.uk -- You received this message because you are subscribed to the Google Groups Jenkins