Jenkins API

API
MethodURLRequest Body
Create JobPOST(jenkins_host)/createItem?name=(job_name)config.xml
Read JobGET(jenkins_host)/job/(job_name)/config.xml
Update JobPOST(jenkins_host)/job/(job_name)/config.xmlconfig.xml
Delete JobPOST(jenkins_host)/job/(job_name)/doDelete(none)
Read Latest Build LogGET(jenkins_host)/job/(job_name)/lastBuild/consoleText
BuildPOST(jenkins_host)/job/(job_name)/build(none)
config.xml
ElementValue
enable/disableproject > disabledfalse / true
shell commandproject > builders > hudson.tasks.Shell > command
cronproject > triggers > hudson.triggers.TimerTrigger > spec