mirror of
https://github.com/SAP/jenkins-library.git
synced 2024-12-14 11:03:09 +02:00
e90548d41d
* Introduce checkChangeInDevelopment
62 lines
1.6 KiB
YAML
62 lines
1.6 KiB
YAML
metadata:
|
|
name: checkChangeInDevelopment
|
|
description: "Checks if a certain change is in status 'in development'"
|
|
longDescription: |
|
|
"Checks if a certain change is in status 'in development'"
|
|
|
|
spec:
|
|
inputs:
|
|
params:
|
|
- name: endpoint
|
|
type: string
|
|
mandatory: true
|
|
description: "The service endpoint"
|
|
aliases:
|
|
- name: changeManagement/endpoint
|
|
scope:
|
|
- PARAMETERS
|
|
- STAGES
|
|
- STEPS
|
|
- GENERAL
|
|
- name: username
|
|
type: string
|
|
mandatory: true
|
|
description: "The user"
|
|
secret: true
|
|
scope:
|
|
- PARAMETERS
|
|
- STAGES
|
|
- STEPS
|
|
- GENERAL
|
|
- name: password
|
|
type: string
|
|
mandatory: true
|
|
description: "The password"
|
|
secret: true
|
|
scope:
|
|
- PARAMETERS
|
|
- GENERAL
|
|
- name: changeDocumentId
|
|
type: string
|
|
mandatory: true
|
|
description: "The change document which should be checked for the status"
|
|
scope:
|
|
- PARAMETERS
|
|
- STAGES
|
|
- STEPS
|
|
- name: failIfStatusIsNotInDevelopment
|
|
type: bool
|
|
default: true
|
|
description: "lets the build fail in case the change is not in status 'in developent'. Otherwise a warning is emitted to the log"
|
|
scope:
|
|
- PARAMETERS
|
|
- STAGES
|
|
- STEPS
|
|
- name: clientOpts
|
|
type: "[]string"
|
|
description: "additional options passed to cm client, e.g. for troubleshooting"
|
|
scope:
|
|
- PARAMETERS
|
|
- STAGES
|
|
- STEPS
|