@itentialopensource/adapter-jenkins
Version:
This adapter integrates with system described as: jenkins.
200 lines (199 loc) • 4.93 kB
YAML
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
description: ''
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: ''
headers: {}
content: {}
deprecated: false
/job/{pipeline}/buildWithParameters:
post:
tags:
- Build
summary: JobBuildWithParametersByPipeline_POST
description: ''
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: ''
headers: {}
content: {}
deprecated: false
/job/{pipeline}/lastBuild/api/json:
get:
tags:
- Build
summary: JobLastBuildApiJsonByPipeline_GET
description: ''
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: ''
headers: {}
content: {}
deprecated: false
/job/{pipeline}/lastBuild/consoleText:
get:
tags:
- Build
summary: JobLastBuildConsoleTextByPipeline_GET
description: ''
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: ''
headers: {}
content: {}
deprecated: false
/job/{pipeline}/{buildId}/api/json:
get:
tags:
- Build
summary: JobApiJsonByPipelineAndBuildId_GET
description: ''
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: ''
headers: {}
content: {}
deprecated: false
components:
securitySchemes:
oauth2:
type: oauth2
flows:
implicit:
authorizationUrl: https:///myjenkins/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