UNPKG

@devopness/sdk-js

Version:

Devopness API JS/TS SDK - Painless essential DevOps to everyone

68 lines (67 loc) 2.06 kB
/** * devopness API * Devopness API - Painless essential DevOps to everyone * * The version of the OpenAPI document: latest * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { PipelineStepRunnerName } from './pipeline-step-runner-name'; /** * * @export * @interface StepPipelineUpdate */ export interface StepPipelineUpdate { /** * The unique ID of the given Pipeline Step. * @type {number} * @memberof StepPipelineUpdate */ id: number; /** * Name/short description of the script. Must be at least 4 characters. Must not be greater than 60 characters. * @type {string} * @memberof StepPipelineUpdate */ name?: string; /** * A short text describing the command. Can be helpful for other team members to understand why a pipeline step is needed. Must not be greater than 255 characters. * @type {string} * @memberof StepPipelineUpdate */ description?: string; /** * The pipeline step\'s type. Must not be greater than 20 characters. * @type {string} * @memberof StepPipelineUpdate */ type?: string; /** * A command line or multiline bash script. Must be at least 10 characters. Must not be greater than 300 characters. * @type {string} * @memberof StepPipelineUpdate */ command: string; /** * * @type {PipelineStepRunnerName} * @memberof StepPipelineUpdate */ runner: PipelineStepRunnerName; /** * The name of the Unix user on behalf of which the script will be executed. Must not be greater than 60 characters. * @type {string} * @memberof StepPipelineUpdate */ run_as_user?: string; /** * Repositions the pipeline step after the step with the given `trigger_order`. Must be at least 0. Must not be greater than 16777214. * @type {number} * @memberof StepPipelineUpdate */ trigger_after?: number; }