github.com/jaylevin/jenkins-library@v1.230.4/documentation/docs/steps/gctsCreateRepository.md (about) 1 # ${docGenStepName} 2 3 ## ${docGenDescription} 4 5 ## Prerequisites 6 7 With this step you can create a local git-enabled CTS (gCTS) repository on an ABAP server. 8 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. 9 10 ## ${docGenParameters} 11 12 ## ${docGenConfiguration} 13 14 ## ${docJenkinsPluginDependencies} 15 16 ## Example 17 18 Example configuration for the use in a `Jenkinsfile`. 19 20 ```groovy 21 gctsCreateRepository( 22 script: this, 23 host: 'https://abap.server.com:port', 24 client: '000', 25 abapCredentialsId: 'ABAPUserPasswordCredentialsId', 26 repository: 'myrepo', 27 remoteRepositoryURL: 'https://github.com/user/myrepo', 28 role: 'SOURCE', 29 vSID: 'ABC' 30 ) 31 ``` 32 33 Example for the use in a YAML configuration file (such as `.pipeline/config.yaml`). 34 35 ```yaml 36 steps: 37 <...> 38 gctsCreateRepository: 39 host: 'https://abap.server.com:port' 40 client: '000' 41 abapCredentialsId: 'ABAPUserPasswordCredentialsId' 42 repository: 'myrepo' 43 remoteRepositoryURL: 'https://github.com/user/myrepo' 44 role: 'SOURCE' 45 vSID: 'ABC' 46 ```