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

     1  metadata:
     2    name: gctsCreateRepository
     3    description: Creates a Git repository on an ABAP system
     4    longDescription: |
     5      Creates a local Git repository on an ABAP system if it does not already exist.
     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 create the repository
    12          type: jenkins
    13      params:
    14        - name: username
    15          type: string
    16          description: Username 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 repository 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
    64        - name: remoteRepositoryURL
    65          type: string
    66          description: URL of the corresponding remote repository
    67          scope:
    68            - PARAMETERS
    69            - STAGES
    70            - STEPS
    71        - name: role
    72          type: string
    73          description: Role of the local repository. Choose between 'TARGET' and 'SOURCE'. Local repositories with a TARGET role will NOT be able to be the source of code changes
    74          scope:
    75            - PARAMETERS
    76            - STAGES
    77            - STEPS
    78          possibleValues:
    79            - SOURCE
    80            - TARGET
    81          default: SOURCE
    82        - name: vSID
    83          type: string
    84          description: Virtual SID of the local repository. The vSID corresponds to the transport route that delivers content to the remote Git repository
    85          scope:
    86            - PARAMETERS
    87            - STAGES
    88            - STEPS
    89        - name: type
    90          type: string
    91          description: Type of the used source code management tool
    92          scope:
    93            - PARAMETERS
    94            - STAGES
    95            - STEPS
    96          default: GIT
    97          possibleValues:
    98            - GIT