You've already forked sap-jenkins-library
mirror of
https://github.com/SAP/jenkins-library.git
synced 2025-07-05 00:59:01 +02:00
1.1 KiB
1.1 KiB
${docGenStepName}
${docGenDescription}
Prerequisites
This step creates a local Git repository on an ABAP server. More information about the Git-enabled Change and Transport System (gCTS).
${docGenParameters}
${docGenConfiguration}
${docJenkinsPluginDependencies}
Example
Example configuration for the use in a Jenkinsfile
.
gctsCreateRepository(
script: this,
host: 'https://abap.server.com:port',
client: '000',
abapCredentialsId: 'ABAPUserPasswordCredentialsId',
repository: 'myrepo',
remoteRepositoryURL: 'https://github.com/user/myrepo',
role: 'SOURCE',
vSID: 'ABC'
)
Example for the use in a YAML configuration file (such as .pipeline/config.yaml
).
steps:
<...>
gctsCreateRepository:
host: 'https://abap.server.com:port'
client: '000'
abapCredentialsId: 'ABAPUserPasswordCredentialsId'
repository: 'myrepo'
remoteRepositoryURL: 'https://github.com/user/myrepo'
role: 'SOURCE'
vSID: 'ABC'