1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2024-12-12 10:55:20 +02:00
sap-jenkins-library/resources/metadata/transportRequestReqIDFromGit.yaml
Roland Stengel 43408d0eea
RFC Upload Documentation (#2922)
RFC Upload Doc
- add RFC upload document
2021-07-08 11:07:08 +02:00

49 lines
1.5 KiB
YAML

metadata:
name: transportRequestReqIDFromGit
description: "Retrieves the transport request ID from Git repository"
longDescription: |
This step scans the commit messages of the Git repository for a pattern to retrieve the transport request ID.
It is primarily made for the transport request upload steps to provide the transport request ID by Git means.
spec:
inputs:
params:
- name: gitFrom
aliases:
- name: changeManagement/git/from
type: "string"
description: "GIT starting point for retrieving the transport request ID"
scope:
- PARAMETERS
- STAGES
- STEPS
- GENERAL
default: "origin/master"
- name: gitTo
aliases:
- name: changeManagement/git/to
type: "string"
description: "GIT ending point for retrieving the transport request ID"
scope:
- PARAMETERS
- STAGES
- STEPS
- GENERAL
default: "HEAD"
- name: transportRequestLabel
aliases:
- name: changeManagement/transportRequestLabel
type: "string"
description: "Pattern used for identifying lines holding the transport request ID. The GIT commit log messages are scanned for this label"
scope:
- PARAMETERS
- STAGES
- STEPS
- GENERAL
default: "TransportRequest"
outputs:
resources:
- name: commonPipelineEnvironment
type: piperEnvironment
params:
- name: custom/transportRequestId