Exactly what I need. Thanks!

-----Original Message-----
From: jenkinsci-users@googlegroups.com 
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of Daniel Beck
Sent: Wednesday, December 04, 2013 10:09 PM
To: jenkinsci-users@googlegroups.com
Subject: Re: Remote API for 'keep forever' flag?

In /job/foo/123/api/xml, it's the 'keepLog' element.

On 05.12.2013, at 01:40, "Canova, Frank" <frank.can...@coherent.com> wrote:

> Is there a REST API to determine if a build is marked as 'keep forever'? I 
> realize we can change the flag through REST, but I don't see a query to get 
> its status.
>
> The background: We have created a custom installation tool that can list & 
> copy builds from Jenkins and install them on remote equipment. Because this 
> tool will be used by a community of novice users that help us test, we would 
> like to highlight build numbers for them using the 'Keep this build forever' 
> flag that we feel are the most stable. Our custom install tool currently uses 
> the REST API to reach Jenkins, so we'd love to find a similar way to also get 
> access to the 'keep forever' flag. Ideas/suggestions are appreciated.
>
> Thanks, Frank
>
>
>
> The information contained in this communication is confidential and may be 
> legally privileged. It is intended solely for the use of the individual or 
> entity to whom it is addressed and others authorized to receive it. If you 
> are not the intended recipient you are hereby (a) notified that any 
> disclosure, copying, distribution or taking any action with respect to the 
> content of this information is strictly prohibited and may be unlawful, and 
> (b) kindly requested to inform the sender immediately and delete any copies. 
> Coherent is neither liable for the proper and complete transmission of the 
> information contained in this communication nor for any delay in its receipt.
>
> --
> 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+unsubscr...@googlegroups.com.
> For more options, visit 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 jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

________________________________

The information contained in this communication is confidential and may be 
legally privileged. It is intended solely for the use of the individual or 
entity to whom it is addressed and others authorized to receive it. If you are 
not the intended recipient you are hereby (a) notified that any disclosure, 
copying, distribution or taking any action with respect to the content of this 
information is strictly prohibited and may be unlawful, and (b) kindly 
requested to inform the sender immediately and delete any copies. Coherent is 
neither liable for the proper and complete transmission of the information 
contained in this communication nor for any delay in its receipt.

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

Reply via email to