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

     1  metadata:
     2    name: gctsCloneRepository
     3    description: Clones a Git repository
     4    longDescription: |
     5      Clones a Git repository from a remote repository to a local repository on an ABAP system. To be able to execute this step, the corresponding local repository has to exist on the local ABAP system.
     6  
     7  spec:
     8    inputs:
     9      secrets:
    10        - name: abapCredentialsId
    11          description: Jenkins credentials ID containing username and password for authentication to the ABAP system on which you want to clone the repository
    12          type: jenkins
    13      params:
    14        - name: username
    15          type: string
    16          description: User to authenticate to the ABAP system
    17          scope:
    18            - PARAMETERS
    19            - STAGES
    20            - STEPS
    21          mandatory: true
    22          secret: true
    23          resourceRef:
    24            - name: abapCredentialsId
    25              type: secret
    26              param: username
    27        - name: password
    28          type: string
    29          description: Password to authenticate to the ABAP system
    30          scope:
    31            - PARAMETERS
    32            - STAGES
    33            - STEPS
    34          mandatory: true
    35          secret: true
    36          resourceRef:
    37            - name: abapCredentialsId
    38              type: secret
    39              param: password
    40        - name: repository
    41          type: string
    42          description: Specifies the name (ID) of the local repsitory on the ABAP system
    43          scope:
    44            - PARAMETERS
    45            - STAGES
    46            - STEPS
    47          mandatory: true
    48        - name: host
    49          type: string
    50          description: Specifies the protocol and host address, including the port. Please provide in the format `<protocol>://<host>:<port>`. Supported protocols are `http` and `https`.
    51          scope:
    52            - PARAMETERS
    53            - STAGES
    54            - STEPS
    55          mandatory: true
    56        - name: client
    57          type: string
    58          description: Specifies the client of the ABAP system to be addressed
    59          scope:
    60            - PARAMETERS
    61            - STAGES
    62            - STEPS
    63          mandatory: true