1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2024-12-16 11:09:33 +02:00
sap-jenkins-library/documentation/docs/steps/gctsCreateRepository.md
Chris Bo fb4cfd84ec
Introducing new step: "gctsCreateRepository" (#1424)
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>
2020-04-24 15:31:41 +02:00

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"