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://
[url]/api/xml?depth=2&xpath=/hudson/job/build[keepLog=%22true%22]/url&wrapper=forever


Hope this helps.

Regards,
Bruno Candido Volpato da Cunha

On Thu, Jan 31, 2013 at 6:30 PM, Chris Withers <[email protected]>wrote:

> 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 Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to 
> jenkinsci-users+unsubscribe@**googlegroups.com<jenkinsci-users%[email protected]>
> .
> For more options, visit 
> https://groups.google.com/**groups/opt_out<https://groups.google.com/groups/opt_out>
> .
>
>
>

-- 
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].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to