mirror of
https://github.com/SAP/jenkins-library.git
synced 2025-03-25 21:39:13 +02:00
1.0 KiB
1.0 KiB
${docGenStepName}
${docGenDescription}
Prerequisites
This step clones a remote Git repository to a local repository on an ABAP server. To execute this step, the corresponding local repository must exist on the local ABAP system. More information about the Git-enabled Change and Transport System (gCTS).
${docGenParameters}
${docGenConfiguration}
${docJenkinsPluginDependencies}
Example
Example configuration for the use in a Jenkinsfile
.
gctsCloneRepository(
script: this,
host: 'https://abap.server.com:port',
client: '000',
abapCredentialsId: 'ABAPUserPasswordCredentialsId',
repository: 'myrepo'
)
Example for the use in a YAML configuration file (such as .pipeline/config.yaml
).
steps:
<...>
gctsCloneRepository:
host: 'https://abap.server.com:port'
client: '000'
abapCredentialsId: 'ABAPUserPasswordCredentialsId'
repository: 'myrepo'