github.com/jaylevin/jenkins-library@v1.230.4/documentation/docs/steps/gctsDeploy.md (about) 1 # ${docGenStepName} 2 3 ## ${docGenDescription} 4 5 ## Prerequisites 6 7 If you provide a `commit ID`, the step deploys the content of the specified commit to the ABAP system. If you provide a `branch`, the step deploys the content of the specified branch. If you set the `rollback` parameter to *true*, the step returns to a working state of the repository, if the deployment of the specified commit or branch fails. 8 Learn more about the SAP Git-enabled Change & Transport System (gCTS) [here](https://help.sap.com/viewer/4a368c163b08418890a406d413933ba7/latest/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 gctsDeploy( 22 script: this, 23 host: 'https://abap.server.com:port', 24 client: '000', 25 abapCredentialsId: 'ABAPUserPasswordCredentialsId', 26 repository: 'myrepo', 27 remoteRepositoryURL: "https://remote.repository.url.com", 28 role: 'SOURCE', 29 vSID: 'ABC', 30 branch: 'feature1', 31 commit: '95952ec', 32 scope: 'LASTACTION', 33 rollback: true, 34 configuration: [VCS_AUTOMATIC_PULL: 'FALSE',VCS_AUTOMATIC_PUSH: 'FALSE',CLIENT_VCS_LOGLVL: 'debug'] 35 ) 36 ``` 37 38 Example for the use in a YAML configuration file (such as `.pipeline/config.yaml`). 39 40 ```yaml 41 steps: 42 <...> 43 gctsDeploy: 44 host: 'https://abap.server.com:port' 45 client: '000' 46 abapCredentialsId: 'ABAPUserPasswordCredentialsId' 47 repository: 'myrepo' 48 remoteRepositoryURL: "https://remote.repository.url.com" 49 role: 'SOURCE' 50 vSID: 'ABC' 51 branch: 'feature2' 52 commit: '0c9d330' 53 scope: 'CRNTCOMMIT' 54 rollback: false 55 configuration: 56 VCS_AUTOMATIC_PULL: "FALSE" 57 VCS_AUTOMATIC_PUSH: "FALSE" 58 CLIENT_VCS_LOGLVL: "debug" 59 ```