github.com/jaylevin/jenkins-library@v1.230.4/resources/metadata/transportRequestDocIDFromGit.yaml (about)

     1  metadata:
     2    name: transportRequestDocIDFromGit
     3    description: "Retrieves change document ID from Git repository"
     4    longDescription: |
     5      This step scans the commit messages of the Git repository for a pattern to retrieve the change document ID.
     6      It is primarily made for the transportRequestUploadSOLMAN step to provide the change document ID by Git means.
     7  spec:
     8    inputs:
     9      params:
    10        - name: gitFrom
    11          aliases:
    12            - name: changeManagement/git/from
    13          type: "string"
    14          description: "GIT starting point for retrieving the change document and transport request ID"
    15          scope:
    16            - PARAMETERS
    17            - STAGES
    18            - STEPS
    19            - GENERAL
    20          default: "origin/master"
    21        - name: gitTo
    22          aliases:
    23            - name: changeManagement/git/to
    24          type: "string"
    25          description: "GIT ending point for retrieving the change document and transport request ID"
    26          scope:
    27            - PARAMETERS
    28            - STAGES
    29            - STEPS
    30            - GENERAL
    31          default: "HEAD"
    32        - name: changeDocumentLabel
    33          aliases:
    34            - name: changeManagement/changeDocumentLabel
    35          type: "string"
    36          description: "Pattern used for identifying lines holding the change document ID. The GIT commit log messages are scanned for this label"
    37          scope:
    38            - PARAMETERS
    39            - STAGES
    40            - STEPS
    41            - GENERAL
    42          default: "ChangeDocument"
    43    outputs:
    44      resources:
    45        - name: commonPipelineEnvironment
    46          type: piperEnvironment
    47          params:
    48            - name: custom/changeDocumentId