| Recipes by Topic | Recipes by Author | Request Enhancement | Report a bug | Fix documentation |
Axel Albrecht |
---|
This CICD Jenkins job simply enables you to download an integration artefact from the Cloud Integration tenant and store it in your source code repository like Git.
A typical work flow would look something like this:
- You build an integration flow on your Cloud Integration tenant.
- Using this job you download the integration artefact and store it in your source code repository.
- You do activities like security scans on the resources or can compare versions.
Instructions to consume the CICD Jenkins file
Configure the following environment variables before executing the pipeline job
Name | Example | Description |
---|---|---|
IntegrationFlowID | "IntegrationFlow1" |
The ID of the integration artefact that needs to be stored in the source code repository |
CPIHost | "${env.CPI_HOST}" Neo: "xxxxxx-tmn.hci.eu2.hana.ondemand.com" CF: "xxxxxx.it-cpi001.cfapps.eu10.hana.ondemand.com" |
The host name (without HTTPS) of your Cloud Integration tenant |
CPIOAuthHost | "${env.CPI_OAUTH_HOST}" "xxxxxx.authentication.sap.hana.ondemand.com" |
The host name (without HTTPS) of the OAuth token server of your Cloud Integration tenant |
CPIOAuthCredentials | "${env.CPI_OAUTH_CRED}" "CPIOAuthCredentials" |
The alias of the OAuth credentials for the Cloud Integration tenant which is deployed on your build server (like Jenkins) |
GITRepositoryURL | "${env.GIT_REPOSITORY_URL}" "github.com/CICD/integrations.git" |
The full URL of the source code repository without HTTPS |
GITCredentials | "${env.GIT_CRED}" "GIT_Credentials" |
The alias of the source code repository credentials which is deployed on your build server (like Jenkins) |
GITBranch | "${env.GIT_BRANCH_NAME}" "refs/heads/master" |
Specify the source code repository branch that you want to work with |
GITFolder | "IntegrationContent/IntegrationArtefacts" |
Specify the folder structure in your source code repository where you like to store the integration artefact |
GITComment | "Integration Artefacts update from CICD pipeline" |
Specify the text to be used during check-in to your source code repository |