mirror of
https://github.com/SAP/jenkins-library.git
synced 2024-12-16 11:09:33 +02:00
fb4cfd84ec
With the step gctsCreateRepository it is possible to create a local gCTS repository on an ABAP server Co-authored-by: Marcus Holl <marcus.holl@sap.com>
1.1 KiB
1.1 KiB
${docGenStepName}
${docGenDescription}
Prerequisites
With this step you can create a local git-enabled CTS (gCTS) repository on an ABAP server. Learn more about gCTS here.
${docGenParameters}
${docGenConfiguration}
${docJenkinsPluginDependencies}
Example
Example configuration for the use in a Jenkinsfile.
gctsCreateRepository(
script: this,
host: "abap.server.com:port",
client: "000",
credentialsId: 'ABAPUserPasswordCredentialsId',
repository: "myrepo",
remoteRepositoryURL: "https://github.com/user/myrepo",
role: "SOURCE",
vSID: "ABC"
)
Example configuration for the use in a yaml config file (such as .pipeline/config.yaml
).
steps:
<...>
gctsCreateRepository:
host: "abap.server.com:port"
client: "000"
username: "ABAPUsername"
password: "ABAPPassword"
repository: "myrepo"
remoteRepositoryURL: "https://github.com/user/myrepo",
role: "SOURCE",
vSID: "ABC"