Hudson Maven 3 Plugin REST API

Data: ns0

  • Namespace: http://hudson-ci.org/xsd/hudson/2.1.0/maven/config

The data in this namespace is divided into elements and types. Types define the structure of the data. Elements define specific instances of the types, and are therefore more relevant to REST endpoints, which generally consume and/or produce elements.

The following elements are members of this namespace:

The following types are members of this namespace:

Element buildConfiguration

Java class for buildConfiguration complex type.

The following schema fragment specifies the expected content contained within this class.

<complexType name="buildConfiguration">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="installationId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="goals" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="privateRepository" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
<element name="privateTmpdir" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
<element name="pomFile" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="properties" type="{http://hudson-ci.org/xsd/hudson/2.1.0/maven/common}properties" minOccurs="0"/>
<element name="errors" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
<element name="verbosity" type="{http://hudson-ci.org/xsd/hudson/2.1.0/maven/config}verbosity" minOccurs="0"/>
<element name="offline" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
<element name="snapshotUpdateMode" type="{http://hudson-ci.org/xsd/hudson/2.1.0/maven/config}snapshotUpdateMode" minOccurs="0"/>
<element name="profile" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
<element name="recursive" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
<element name="checksumMode" type="{http://hudson-ci.org/xsd/hudson/2.1.0/maven/config}checksumMode" minOccurs="0"/>
<element name="failMode" type="{http://hudson-ci.org/xsd/hudson/2.1.0/maven/config}failMode" minOccurs="0"/>
<element name="makeMode" type="{http://hudson-ci.org/xsd/hudson/2.1.0/maven/config}makeMode" minOccurs="0"/>
<element name="project" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
<element name="resumeFrom" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="threading" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="mavenOpts" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="settingsId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="globalSettingsId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="toolChainsId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>

Example XML

<?xml version="1.0" encoding="UTF-8"?> <ns0:buildConfiguration xmlns:ns0="http://hudson-ci.org/xsd/hudson/2.1.0/maven/config"> <installationId> <!--content of type 'string'--> ... </installationId> <goals> <!--content of type 'string'--> ... </goals> <privateRepository> <!--content of type 'boolean'--> ... </privateRepository> <privateTmpdir> <!--content of type 'boolean'--> ... </privateTmpdir> <pomFile> <!--content of type 'string'--> ... </pomFile> <properties> <!--content of type 'properties'--> <entry name="..." value="..."> <!--content of type 'null'--> </entry> <entry> <!--(another 'null' type)--> </entry> <!--...more "entry" elements...--> </properties> <errors> <!--content of type 'boolean'--> ... </errors> <verbosity> <!--content of type 'verbosity'--> ... </verbosity> <offline> <!--content of type 'boolean'--> ... </offline> <snapshotUpdateMode> <!--content of type 'snapshotUpdateMode'--> ... </snapshotUpdateMode> <profile> <!--content of type 'string'--> ... </profile> <profile> <!--(another 'string' type)--> </profile> <!--...more "profile" elements...--> <recursive> <!--content of type 'boolean'--> ... </recursive> <checksumMode> <!--content of type 'checksumMode'--> ... </checksumMode> <failMode> <!--content of type 'failMode'--> ... </failMode> <makeMode> <!--content of type 'makeMode'--> ... </makeMode> <project> <!--content of type 'string'--> ... </project> <project> <!--(another 'string' type)--> </project> <!--...more "project" elements...--> <resumeFrom> <!--content of type 'string'--> ... </resumeFrom> <threading> <!--content of type 'string'--> ... </threading> <mavenOpts> <!--content of type 'string'--> ... </mavenOpts> <settingsId> <!--content of type 'string'--> ... </settingsId> <globalSettingsId> <!--content of type 'string'--> ... </globalSettingsId> <toolChainsId> <!--content of type 'string'--> ... </toolChainsId> </ns0:buildConfiguration>

Example JSON

{ "installationId" : "...", "goals" : "...", "privateRepository" : false, "privateTmpdir" : false, "pomFile" : "...", "properties" : { "entry" : [ { "name" : "...", "value" : "..." }, ... ] }, "errors" : false, "verbosity" : { }, "offline" : false, "snapshotUpdateMode" : { }, "profile" : [ "...", ... ], "recursive" : false, "checksumMode" : { }, "failMode" : { }, "makeMode" : { }, "project" : [ "...", ... ], "resumeFrom" : "...", "threading" : "...", "mavenOpts" : "...", "settingsId" : "...", "globalSettingsId" : "...", "toolChainsId" : "..." }

Element document

Java class for document complex type.

The following schema fragment specifies the expected content contained within this class.

<complexType name="document">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="content" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="attribute" type="{http://hudson-ci.org/xsd/hudson/2.1.0/maven/config}documentAttribute" maxOccurs="unbounded"/>
</sequence>
<attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="type" use="required" type="{http://hudson-ci.org/xsd/hudson/2.1.0/maven/config}documentType" />
</restriction>
</complexContent>
</complexType>

Example XML

<?xml version="1.0" encoding="UTF-8"?> <ns0:document xmlns:ns0="http://hudson-ci.org/xsd/hudson/2.1.0/maven/config" id="..." name="..." type="..."> <description> <!--content of type 'string'--> ... </description> <content> <!--content of type 'string'--> ... </content> <attribute name="..." value="..."> <!--content of type 'documentAttribute'--> </attribute> <attribute> <!--(another 'documentAttribute' type)--> </attribute> <!--...more "attribute" elements...--> </ns0:document>

Example JSON

{ "id" : "...", "name" : "...", "type" : { }, "description" : "...", "content" : "...", "attribute" : [ { "name" : "...", "value" : "..." }, ... ] }

Element documents

Java class for documents complex type.

The following schema fragment specifies the expected content contained within this class.

<complexType name="documents">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="document" type="{http://hudson-ci.org/xsd/hudson/2.1.0/maven/config}document" maxOccurs="unbounded"/>
</sequence>
</restriction>
</complexContent>
</complexType>

Example XML

<?xml version="1.0" encoding="UTF-8"?> <ns0:documents xmlns:ns0="http://hudson-ci.org/xsd/hudson/2.1.0/maven/config"> <document id="..." name="..." type="..."> <!--content of type 'document'--> <description> <!--content of type 'string'--> ... </description> <content> <!--content of type 'string'--> ... </content> <attribute name="..." value="..."> <!--content of type 'documentAttribute'--> </attribute> <attribute> <!--(another 'documentAttribute' type)--> </attribute> <!--...more "attribute" elements...--> </document> <document> <!--(another 'document' type)--> </document> <!--...more "document" elements...--> </ns0:documents>

Example JSON

{ "document" : [ { "id" : "...", "name" : "...", "type" : { }, "description" : "...", "content" : "...", "attribute" : [ { "name" : "...", "value" : "..." }, ... ] }, ... ] }

Type buildConfiguration

Java class for buildConfiguration complex type.

The following schema fragment specifies the expected content contained within this class.

<complexType name="buildConfiguration">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="installationId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="goals" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="privateRepository" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
<element name="privateTmpdir" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
<element name="pomFile" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="properties" type="{http://hudson-ci.org/xsd/hudson/2.1.0/maven/common}properties" minOccurs="0"/>
<element name="errors" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
<element name="verbosity" type="{http://hudson-ci.org/xsd/hudson/2.1.0/maven/config}verbosity" minOccurs="0"/>
<element name="offline" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
<element name="snapshotUpdateMode" type="{http://hudson-ci.org/xsd/hudson/2.1.0/maven/config}snapshotUpdateMode" minOccurs="0"/>
<element name="profile" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
<element name="recursive" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
<element name="checksumMode" type="{http://hudson-ci.org/xsd/hudson/2.1.0/maven/config}checksumMode" minOccurs="0"/>
<element name="failMode" type="{http://hudson-ci.org/xsd/hudson/2.1.0/maven/config}failMode" minOccurs="0"/>
<element name="makeMode" type="{http://hudson-ci.org/xsd/hudson/2.1.0/maven/config}makeMode" minOccurs="0"/>
<element name="project" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
<element name="resumeFrom" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="threading" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="mavenOpts" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="settingsId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="globalSettingsId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="toolChainsId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>

Child Elements

name (type) min/max
occurs
description
installationId (string) 0/1 (no documentation provided)
goals (string) 0/1 (no documentation provided)
privateRepository (boolean) 0/1 (no documentation provided)
privateTmpdir (boolean) 0/1 (no documentation provided)
pomFile (string) 0/1 (no documentation provided)
properties (properties) 0/1 (no documentation provided)
errors (boolean) 0/1 (no documentation provided)
verbosity (verbosity) 0/1 (no documentation provided)
offline (boolean) 0/1 (no documentation provided)
snapshotUpdateMode (snapshotUpdateMode) 0/1 (no documentation provided)
profile (string) 0/unbounded (no documentation provided)
recursive (boolean) 0/1 (no documentation provided)
checksumMode (checksumMode) 0/1 (no documentation provided)
failMode (failMode) 0/1 (no documentation provided)
makeMode (makeMode) 0/1 (no documentation provided)
project (string) 0/unbounded (no documentation provided)
resumeFrom (string) 0/1 (no documentation provided)
threading (string) 0/1 (no documentation provided)
mavenOpts (string) 0/1 (no documentation provided)
settingsId (string) 0/1 (no documentation provided)
globalSettingsId (string) 0/1 (no documentation provided)
toolChainsId (string) 0/1 (no documentation provided)

Type checksumMode

Java class for checksumMode.

The following schema fragment specifies the expected content contained within this class.

<simpleType name="checksumMode">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="NORMAL"/>
<enumeration value="STRICT"/>
<enumeration value="LAX"/>
</restriction>
</simpleType>

Possible Values

value description
NORMAL
STRICT
LAX

Type document

Java class for document complex type.

The following schema fragment specifies the expected content contained within this class.

<complexType name="document">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="content" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="attribute" type="{http://hudson-ci.org/xsd/hudson/2.1.0/maven/config}documentAttribute" maxOccurs="unbounded"/>
</sequence>
<attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="type" use="required" type="{http://hudson-ci.org/xsd/hudson/2.1.0/maven/config}documentType" />
</restriction>
</complexContent>
</complexType>

Attributes

name type description
id string (no documentation provided)
name string (no documentation provided)
type documentType (no documentation provided)

Child Elements

name (type) min/max
occurs
description
description (string) 0/1 (no documentation provided)
content (string) 0/1 (no documentation provided)
attribute (documentAttribute) 1/unbounded (no documentation provided)

Type documentAttribute

Java class for documentAttribute complex type.

The following schema fragment specifies the expected content contained within this class.

<complexType name="documentAttribute">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>

Attributes

name type description
name string (no documentation provided)
value string (no documentation provided)

Type documents

Java class for documents complex type.

The following schema fragment specifies the expected content contained within this class.

<complexType name="documents">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="document" type="{http://hudson-ci.org/xsd/hudson/2.1.0/maven/config}document" maxOccurs="unbounded"/>
</sequence>
</restriction>
</complexContent>
</complexType>

Child Elements

name (type) min/max
occurs
description
document (document) 1/unbounded (no documentation provided)

Type documentType

Java class for documentType.

The following schema fragment specifies the expected content contained within this class.

<simpleType name="documentType">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="SETTINGS"/>
<enumeration value="TOOLCHAINS"/>
<enumeration value="PROPERTIES"/>
<enumeration value="CUSTOM"/>
</restriction>
</simpleType>

Possible Values

value description
SETTINGS
TOOLCHAINS
PROPERTIES
CUSTOM

Type failMode

Java class for failMode.

The following schema fragment specifies the expected content contained within this class.

<simpleType name="failMode">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="NORMAL"/>
<enumeration value="AT_END"/>
<enumeration value="FAST"/>
<enumeration value="NEVER"/>
</restriction>
</simpleType>

Possible Values

value description
NORMAL
AT_END
FAST
NEVER

Type makeMode

Java class for makeMode.

The following schema fragment specifies the expected content contained within this class.

<simpleType name="makeMode">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="NONE"/>
<enumeration value="DEPENDENCIES"/>
<enumeration value="DEPENDENTS"/>
<enumeration value="BOTH"/>
</restriction>
</simpleType>

Possible Values

value description
NONE
DEPENDENCIES
DEPENDENTS
BOTH

Type snapshotUpdateMode

Java class for snapshotUpdateMode.

The following schema fragment specifies the expected content contained within this class.

<simpleType name="snapshotUpdateMode">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="NORMAL"/>
<enumeration value="FORCE"/>
<enumeration value="SUPPRESS"/>
</restriction>
</simpleType>

Possible Values

value description
NORMAL
FORCE
SUPPRESS

Type verbosity

Java class for verbosity.

The following schema fragment specifies the expected content contained within this class.

<simpleType name="verbosity">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="NORMAL"/>
<enumeration value="QUIET"/>
<enumeration value="DEBUG"/>
</restriction>
</simpleType>

Possible Values

value description
NORMAL
QUIET
DEBUG