@itentialopensource/adapter-jenkins
Version:
This adapter integrates with system described as: jenkins.
283 lines • 6.98 kB
JSON
{
"openapi": "3.0.0",
"info": {
"title": "Jenkins",
"description": "This is a swagger document for integration to Jenkins",
"contact": {
"email": "apiteam@swagger.io"
},
"version": "1.0"
},
"servers": [
{
"url": "https:///myjenkins/",
"variables": {}
},
{
"url": "http:///myjenkins/",
"variables": {}
},
{
"url": "https://petstore.swagger.io/oauth",
"variables": {}
}
],
"paths": {
"/job/{pipeline}/build": {
"post": {
"tags": [
"Build"
],
"summary": "JobBuildByPipeline_POST",
"operationId": "JobBuildByPipeline_POST",
"parameters": [
{
"name": "pipeline",
"in": "path",
"description": "",
"required": true,
"style": "simple",
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"headers": {},
"content": {
"text/plain": {
"schema": {
"type": "string",
"description": "successful operation"
}
}
}
},
"400": {
"description": ""
}
},
"deprecated": false
}
},
"/job/{pipeline}/buildWithParameters": {
"post": {
"tags": [
"Build"
],
"summary": "JobBuildWithParametersByPipeline_POST",
"operationId": "JobBuildWithParametersByPipeline_POST",
"parameters": [
{
"name": "pipeline",
"in": "path",
"description": "",
"required": true,
"style": "simple",
"schema": {
"type": "string"
}
},
{
"name": "Parameter1",
"in": "query",
"description": "",
"style": "form",
"explode": true,
"schema": {
"type": "string"
}
},
{
"name": "Parameter2",
"in": "query",
"description": "",
"style": "form",
"explode": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"headers": {},
"content": {
"text/plain": {
"schema": {
"type": "string",
"description": "successful operation"
}
}
}
},
"400": {
"description": ""
}
},
"deprecated": false
}
},
"/job/{pipeline}/lastBuild/api/json": {
"get": {
"tags": [
"Build"
],
"summary": "JobLastBuildApiJsonByPipeline_GET",
"operationId": "JobLastBuildApiJsonByPipeline_GET",
"parameters": [
{
"name": "pipeline",
"in": "path",
"description": "",
"required": true,
"style": "simple",
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"headers": {},
"content": {
"text/plain": {
"schema": {
"type": "string",
"description": "successful operation"
}
}
}
},
"400": {
"description": ""
}
},
"deprecated": false
}
},
"/job/{pipeline}/lastBuild/consoleText": {
"get": {
"tags": [
"Build"
],
"summary": "JobLastBuildConsoleTextByPipeline_GET",
"operationId": "JobLastBuildConsoleTextByPipeline_GET",
"parameters": [
{
"name": "pipeline",
"in": "path",
"description": "",
"required": true,
"style": "simple",
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"headers": {},
"content": {
"text/plain": {
"schema": {
"type": "string",
"description": "successful operation"
}
}
}
},
"400": {
"description": ""
}
},
"deprecated": false
}
},
"/job/{pipeline}/{buildId}/api/json": {
"get": {
"tags": [
"Build"
],
"summary": "JobApiJsonByPipelineAndBuildId_GET",
"operationId": "JobApiJsonByPipelineAndBuildId_GET",
"parameters": [
{
"name": "pipeline",
"in": "path",
"description": "",
"required": true,
"style": "simple",
"schema": {
"type": "string"
}
},
{
"name": "buildId",
"in": "path",
"description": "",
"required": true,
"style": "simple",
"schema": {
"type": "number",
"format": "double"
}
}
],
"responses": {
"200": {
"description": "successful operation",
"headers": {},
"content": {
"text/plain": {
"schema": {
"type": "string",
"description": "successful operation"
}
}
}
},
"400": {
"description": ""
}
},
"deprecated": false
}
}
},
"components": {
"securitySchemes": {
"oauth2": {
"type": "oauth2",
"flows": {
"implicit": {
"authorizationUrl": "https://petstore.swagger.io/oauth/authorize",
"scopes": {
"write:pets": "modify pets in your account",
"read:pets": "read your pets"
}
}
}
}
}
},
"security": [
{
"oauth2": []
}
],
"tags": [
{
"name": "Build"
}
],
"externalDocs": {
"description": "Find out more about Swagger",
"url": "http://swagger.io"
}
}