@itentialopensource/adapter-jenkins
Version:
This adapter integrates with system described as: jenkins.
252 lines • 6.19 kB
JSON
{
"openapi": "3.1.0",
"info": {
"title": "",
"version": "1.0.0"
},
"paths": {
"/job/{pipeline}/build": {
"post": {
"tags": [
"Build"
],
"operationId": "postBuild",
"description": "The parameters and request body are for method: postBuild. Same endpoint also used in methods:",
"responses": {
"200": {
"description": "Successful operation",
"content": {
"application/json": {
"schema": {
"title": "result",
"type": "object"
}
}
}
}
},
"parameters": [
{
"name": "pipeline",
"in": "path",
"required": true,
"schema": {
"title": "pipeline",
"type": "string"
}
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object"
},
"example": {}
}
}
}
}
},
"/job/{pipeline}/buildWithParameters": {
"post": {
"tags": [
"Build"
],
"operationId": "postBuildWithParameters",
"description": "The parameters and request body are for method: postBuildWithParameters. Same endpoint also used in methods:",
"responses": {
"200": {
"description": "Successful operation",
"content": {
"application/json": {
"schema": {
"title": "result",
"type": "object"
}
}
}
}
},
"parameters": [
{
"name": "pipeline",
"in": "path",
"required": true,
"schema": {
"title": "pipeline",
"type": "string"
}
},
{
"name": "parameter1",
"in": "query",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "parameter2",
"in": "query",
"required": true,
"schema": {
"type": "string"
}
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object"
},
"example": {}
}
}
}
}
},
"/job/{pipeline}/lastBuild/api/json": {
"get": {
"tags": [
"Build"
],
"operationId": "getLastBuildApiJson",
"description": "The parameters and request body are for method: getLastBuildApiJson. Same endpoint also used in methods:",
"responses": {
"200": {
"description": "Successful operation",
"content": {
"application/json": {
"schema": {
"title": "result",
"type": "object"
}
}
}
}
},
"parameters": [
{
"name": "pipeline",
"in": "path",
"required": true,
"schema": {
"title": "pipeline",
"type": "string"
}
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object"
},
"example": {}
}
}
}
}
},
"/job/{pipeline}/lastBuild/consoleText": {
"get": {
"tags": [
"Build"
],
"operationId": "getLastBuildConsoleText",
"description": "The parameters and request body are for method: getLastBuildConsoleText. Same endpoint also used in methods:",
"responses": {
"200": {
"description": "Successful operation",
"content": {
"application/json": {
"schema": {
"title": "result",
"type": "object"
}
}
}
}
},
"parameters": [
{
"name": "pipeline",
"in": "path",
"required": true,
"schema": {
"title": "pipeline",
"type": "string"
}
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object"
},
"example": {}
}
}
}
}
},
"/job/{pipeline}/{buildId}/api/json": {
"get": {
"tags": [
"Build"
],
"operationId": "getBuildIdApiJson",
"description": "The parameters and request body are for method: getBuildIdApiJson. Same endpoint also used in methods:",
"responses": {
"200": {
"description": "Successful operation",
"content": {
"application/json": {
"schema": {
"title": "result",
"type": "object"
}
}
}
}
},
"parameters": [
{
"name": "pipeline",
"in": "path",
"required": true,
"schema": {
"title": "pipeline",
"type": "string"
}
},
{
"name": "buildId",
"in": "path",
"required": true,
"schema": {
"title": "buildId",
"type": "number"
}
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object"
},
"example": {}
}
}
}
}
}
},
"components": {
"schemas": {}
}
}