Hello Team, Thanks for the inputs. I get gone with toggleLogKeep in My old Jenkins ver. 2.190.1 <https://jenkins.io/> Now upgraded to Jenkins 2.332.3 <https://www.jenkins.io/> Stopped now with *ERROR 403 No valid crumb was included in the request* what could be the issue ? Thanks in Advance. *Regards,* *LnT*
On Monday, February 4, 2013 at 1:06:08 PM UTC+5:30 Chris Withers wrote: > 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 need to check what state the build > is in before calling toggle. > > Is there any way, through the REST api, that I can *ensure* the build is > kept forever? > > cheers, > > 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 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/b97a0bcb-8a7b-42a3-86b0-fab7b93d0244n%40googlegroups.com.
