2020-04-24 15:31:41 +02:00
# ${docGenStepName}
## ${docGenDescription}
## Prerequisites
With this step you can create a local git-enabled CTS (gCTS) repository on an ABAP server.
2020-09-24 07:41:06 +02:00
Learn more about the SAP Git-enabled Change & Transport System (gCTS) [here ](https://help.sap.com/viewer/4a368c163b08418890a406d413933ba7/201909.001/en-US/f319b168e87e42149e25e13c08d002b9.html ). With gCTS, ABAP developments on ABAP servers can be maintained in Git repositories.
2020-04-24 15:31:41 +02:00
## ${docGenParameters}
## ${docGenConfiguration}
## ${docJenkinsPluginDependencies}
## Example
2020-04-29 16:21:55 +02:00
Example configuration for the use in a `Jenkinsfile` .
2020-04-24 15:31:41 +02:00
```groovy
gctsCreateRepository(
script: this,
2020-07-22 10:56:20 +02:00
host: 'https://abap.server.com:port',
client: '000',
2020-04-29 16:21:55 +02:00
abapCredentialsId: 'ABAPUserPasswordCredentialsId',
2020-07-22 10:56:20 +02:00
repository: 'myrepo',
remoteRepositoryURL: 'https://github.com/user/myrepo',
role: 'SOURCE',
vSID: 'ABC'
2020-04-24 15:31:41 +02:00
)
```
2020-04-29 16:21:55 +02:00
Example for the use in a YAML configuration file (such as `.pipeline/config.yaml` ).
2020-04-24 15:31:41 +02:00
```yaml
steps:
< ... >
gctsCreateRepository:
2020-07-22 10:56:20 +02:00
host: 'https://abap.server.com:port'
client: '000'
abapCredentialsId: 'ABAPUserPasswordCredentialsId'
repository: 'myrepo'
remoteRepositoryURL: 'https://github.com/user/myrepo'
role: 'SOURCE'
vSID: 'ABC'
2020-04-24 15:31:41 +02:00
```