@itentialopensource/adapter-jenkins
Version:
This adapter integrates with system described as: jenkins.
188 lines • 5.43 kB
JSON
{
"swagger": "2.0",
"info": {
"title": "Jenkins",
"description": "This is a swagger document for integration to Jenkins",
"version": "",
"termsOfService": "http://swagger.io/terms/",
"contact": {
"email": "apiteam@swagger.io"
},
"license": {
"name": "Apache 2.0",
"url": "http://www.apache.org/licenses/LICENSE-2.0.html"
}
},
"host": "/myjenkins",
"basePath": "",
"schemes": [
"https",
"http"
],
"tags": [
{
"name": "Build",
"externalDocs": null
}
],
"paths": {
"/job/{pipeline}/build": {
"post": {
"parameters": [
{
"in": "path",
"name": "pipeline",
"type": "string"
}
],
"operationId": "",
"tags": [
"Build"
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "string"
}
},
"400": {}
}
}
},
"/job/{pipeline}/buildWithParameters": {
"post": {
"parameters": [
{
"in": "path",
"name": "pipeline",
"type": "string"
},
{
"in": "query",
"name": "Parameter1",
"type": "string"
},
{
"in": "query",
"name": "Parameter2",
"type": "string"
}
],
"operationId": "",
"tags": [
"Build"
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "string"
}
},
"400": {}
}
}
},
"/job/{pipeline}/lastBuild/api/json": {
"get": {
"parameters": [
{
"in": "path",
"name": "pipeline",
"type": "string"
}
],
"operationId": "",
"tags": [
"Build"
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "string"
}
},
"400": {}
}
}
},
"/job/{pipeline}/lastBuild/consoleText": {
"get": {
"parameters": [
{
"in": "path",
"name": "pipeline",
"type": "string"
}
],
"operationId": "",
"tags": [
"Build"
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "string"
}
},
"400": {}
}
}
},
"/job/{pipeline}/{buildId}/api/json": {
"get": {
"parameters": [
{
"in": "path",
"name": "pipeline",
"type": "string"
},
{
"in": "path",
"name": "buildId",
"type": "number"
}
],
"operationId": "",
"tags": [
"Build"
],
"responses": {
"200": {
"description": "successful operation",
"schema": {
"type": "string"
}
},
"400": {}
}
}
}
},
"securityDefinitions": {
"petstore_auth": {
"type": "oauth2",
"authorizationUrl": "https://petstore.swagger.io/oauth/authorize",
"flow": "implicit",
"scopes": {
"write:pets": "modify pets in your account",
"read:pets": "read your pets"
}
},
"api_key": {
"type": "apiKey",
"name": "api_key",
"in": "header"
}
},
"definitions": {},
"externalDocs": {
"description": "Find out more about Swagger",
"url": "http://swagger.io"
},
"consumes": [],
"produces": []
}