mirror of
https://github.com/SAP/jenkins-library.git
synced 2024-12-12 10:55:20 +02:00
ba58d72022
* Update texts of gCTS steps and scenario for SSL and queryP * delete a trailing space
81 lines
2.6 KiB
YAML
81 lines
2.6 KiB
YAML
metadata:
|
|
name: gctsCloneRepository
|
|
description: Clones a Git repository
|
|
longDescription: |
|
|
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.
|
|
|
|
spec:
|
|
inputs:
|
|
secrets:
|
|
- name: abapCredentialsId
|
|
description: Jenkins credentials ID containing username and password for authentication to the ABAP system on which you want to clone the repository
|
|
type: jenkins
|
|
params:
|
|
- name: username
|
|
type: string
|
|
description: User to authenticate to the ABAP system
|
|
scope:
|
|
- PARAMETERS
|
|
- STAGES
|
|
- STEPS
|
|
mandatory: true
|
|
secret: true
|
|
resourceRef:
|
|
- name: abapCredentialsId
|
|
type: secret
|
|
param: username
|
|
- name: password
|
|
type: string
|
|
description: Password to authenticate to the ABAP system
|
|
scope:
|
|
- PARAMETERS
|
|
- STAGES
|
|
- STEPS
|
|
mandatory: true
|
|
secret: true
|
|
resourceRef:
|
|
- name: abapCredentialsId
|
|
type: secret
|
|
param: password
|
|
- name: repository
|
|
type: string
|
|
description: Specifies the name (ID) of the local repsitory on the ABAP system
|
|
scope:
|
|
- PARAMETERS
|
|
- STAGES
|
|
- STEPS
|
|
mandatory: true
|
|
- name: host
|
|
type: string
|
|
description: Specifies the protocol and host address, including the port. Please provide in the format `<protocol>://<host>:<port>`. Supported protocols are `http` and `https`.
|
|
scope:
|
|
- PARAMETERS
|
|
- STAGES
|
|
- STEPS
|
|
mandatory: true
|
|
- name: client
|
|
type: string
|
|
description: Specifies the client of the ABAP system to be addressed
|
|
scope:
|
|
- PARAMETERS
|
|
- STAGES
|
|
- STEPS
|
|
mandatory: true
|
|
- name: queryParameters
|
|
type: "map[string]interface{}"
|
|
description: Add query parameters (for API requests) that apply to all endpoints of the step. Provide the parameters as key-value pair map in the format `<query parameter>:<value>`.
|
|
scope:
|
|
- PARAMETERS
|
|
- STAGES
|
|
- STEPS
|
|
mandatory: false
|
|
- name: skipSSLVerification
|
|
type: bool
|
|
description: Skip the verification of SSL (Secure Socket Layer) certificates when using HTTPS. This parameter is **not recommended** for productive environments.
|
|
scope:
|
|
- PARAMETERS
|
|
- STAGES
|
|
- STEPS
|
|
mandatory: false
|
|
default: false
|