Actions (37)
Jobs · 11
- Copy jobPOST /createItem?name={job_name}&mode=copy&from={source_job}
Create a new job by copying an existing one via mode=copy and from=<source_job>.
documented - Create jobPOST /createItem?name={job_name}
Create a new Jenkins job by POSTing a Job’s config.xml to this endpoint (Content-Type: application/xml).
documented - Get job configurationGET /job/{job_name}/config.xml
Fetch the XML configuration for a specific job.
documented - Get job details (JSON)GET /job/{job_name}/api/json
Retrieve job metadata and configuration in JSON for the specified job.
documented - Get job details (XML)GET /job/{job_name}/api/xml
Retrieve job metadata and configuration in XML for the specified job.
documented - Get last build (JSON)GET /job/{job_name}/lastBuild/api/json
Retrieve information about the last build of the job in JSON.
documented - Get last completed build (JSON)GET /job/{job_name}/lastCompletedBuild/api/json
Retrieve information about the last completed build in JSON.
documented - Get last successful build (JSON)GET /job/{job_name}/lastSuccessfulBuild/api/json
Retrieve information about the last successful build in JSON.
documented - Trigger buildPOST /job/{job_name}/build
Trigger a new build for the given job, with optional parameters.
documented - Trigger build with parametersPOST /job/{job_name}/buildWithParameters
Trigger a new build for the given job with form parameters.
documented - Update job configurationPOST /job/{job_name}/config.xml
Update a job’s configuration by POSTing XML to this endpoint.
documented
Blue Ocean · 7
- Download run logsGET /blue/rest/organizations/{org}/pipelines/{pipeline}/runs/{run}/logs/
Retrieve the logs for a specific run.
documented - Get latest run for a pipelineGET /blue/rest/organizations/{org}/pipelines/{pipeline}/runs/latest/
Fetch the most recent run for a pipeline.
documented - List nodes for a runGET /blue/rest/organizations/{org}/pipelines/{pipeline}/runs/{run}/nodes/
List the pipeline run nodes/stages for a particular run.
documented - List pipelinesGET /blue/rest/organizations/{org}/pipelines/
Return the pipelines for the specified organization in Blue Ocean.
documented - List pipelines for organizationGET /blue/rest/organizations/jenkins/pipelines/
List pipelines under the Jenkins organization.
documented - List runs for a pipelineGET /blue/rest/organizations/{org}/pipelines/{pipeline}/runs/
List runs for a given pipeline.
documented - List runs for a pipelineGET /blue/rest/organizations/jenkins/pipelines/{pipeline}/runs/
List runs for a pipeline under the Jenkins organization.
documented
Builds · 4
- Download artifactGET /job/{job_name}/{build_number}/artifact/{path}
Retrieve a build artifact by path.
documented - Get build details (JSON)GET /job/{job_name}/{build_number}/api/json
Fetch information for a specific build by number in JSON.
documented - Get progressive console logGET /job/{job_name}/{build_number}/logText/progressiveText
Stream partial console log text for an in-progress or completed build.
documented - Stop buildPOST /job/{job_name}/{build_number}/stop
Abort a running build for the specified job/number.
documented
Remote Access API · 4
- Get root API data (JSON)GET /api/json
Return the root API data in JSON format for machine consumption.
documented - Get root API data (Python)GET /api/python
Return the root API data in a Python-compatible JSON variant.
documented - Get root API data (XML)GET /api/xml
Return the root API data in XML format (with optional tree/xpath/depth controls).
documented - List API root resourcesGET /api/
Top-level listing of API features exposed by this Jenkins instance.
documented