Element project
Type: | project |
Namespace: | http://hudson-ci.org/xsd/hudson/2.1.0/rest/project |
Example XML
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://hudson-ci.org/xsd/hudson/2.1.0/rest/project">
<ref xmlns="">
<id>...</id>
</ref>
<type xmlns="">...</type>
<id xmlns="">...</id>
<url xmlns="">...</url>
<name xmlns="">...</name>
<title xmlns="">...</title>
<description xmlns="">...</description>
<enabled xmlns="">...</enabled>
<configurable xmlns="">...</configurable>
<concurrent xmlns="">...</concurrent>
<queued xmlns="">...</queued>
<lastBuild xmlns="">
<type>...</type>
<url>...</url>
<id>...</id>
<number>...</number>
<description>...</description>
<projectName>...</projectName>
<duration>...</duration>
<timeStamp>...</timeStamp>
<result>...</result>
<state>...</state>
<kept>...</kept>
<causes>
<type>...</type>
<description>...</description>
</causes>
<causes>
<!--...-->
</causes>
<!--...more "causes" elements...-->
<participants>...</participants>
<participants>...</participants>
<!--...more "participants" elements...-->
<culprits>...</culprits>
<culprits>...</culprits>
<!--...more "culprits" elements...-->
<changesAvailable>...</changesAvailable>
<testsAvailable>...</testsAvailable>
</lastBuild>
<blocked xmlns="">...</blocked>
<blockedReason xmlns="">...</blockedReason>
<health xmlns="">
<score>...</score>
<description>...</description>
</health>
<parent xmlns="">
<id>...</id>
</parent>
<descendant xmlns="">
<id>...</id>
</descendant>
<descendant xmlns="">
<!--...-->
</descendant>
<!--...more "descendant" elements...-->
<upstream xmlns="">
<id>...</id>
</upstream>
<upstream xmlns="">
<!--...-->
</upstream>
<!--...more "upstream" elements...-->
<downstream xmlns="">
<id>...</id>
</downstream>
<downstream xmlns="">
<!--...-->
</downstream>
<!--...more "downstream" elements...-->
</project>
Example JSON
{
ref : {
id : "..."
},
type : "...",
id : "...",
url : "...",
name : "...",
title : "...",
description : "...",
enabled : false,
configurable : false,
concurrent : false,
queued : false,
lastBuild : {
type : "...",
url : "...",
id : "...",
number : ...,
description : "...",
projectName : "...",
duration : ...,
timeStamp : ...,
result : {
},
state : {
},
kept : false,
causes : [ {
@type : "{http://hudson-ci.org/xsd/hudson/2.1.0/rest/build}cause",
type : "...",
description : "..."
}, ... ],
participants : [ "...", ... ],
culprits : [ "...", ... ],
changesAvailable : false,
testsAvailable : false
},
blocked : false,
blockedReason : "...",
health : {
score : ...,
description : "..."
},
parent : {
id : "..."
},
descendant : [ {
id : "..."
}, ... ],
upstream : [ {
id : "..."
}, ... ],
downstream : [ {
id : "..."
}, ... ]
}