Wep, I've tried to find the keyword "enable"...
Thanks James, this fits my needs.

Vincent
________________________________________
From: jenkinsci-users@googlegroups.com [jenkinsci-users@googlegroups.com] on 
behalf of Nord, James [jn...@nds.com]
Sent: Wednesday, May 09, 2012 3:13 PM
To: jenkinsci-users@googlegroups.com
Subject: RE: How to know if a job is enabled  with Jenkins REST ?

Does http://myserver/job/myjob/api/xml?xpath=*/buildable do what you need?

/James

> -----Original Message-----
> From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-
> us...@googlegroups.com] On Behalf Of HARDION Vincent
> Sent: 09 May 2012 13:34
> To: jenkinsci-users@googlegroups.com
> Subject: How to know if a job is enabled with Jenkins REST ?
>
> Hi all,
>
> I don't find the way to know the state enable/disable of a job through the
> jenkins REST !
> Some urls exist but only accessible to post action.
>
> Any idea ?
>
> Vincent


**************************************************************************************
This message is confidential and intended only for the addressee. If you have 
received this message in error, please immediately notify the 
postmas...@nds.com and delete it from your system as well as any copies. The 
content of e-mails as well as traffic data may be monitored by NDS for 
employment and security purposes. To protect the environment please do not 
print this e-mail unless necessary.

NDS Limited. Registered Office: One London Road, Staines, Middlesex, TW18 4EX, 
United Kingdom. A company registered in England and Wales. Registered no. 
3080780. VAT no. GB 603 8808 40-00
**************************************************************************************

Reply via email to