Skip to content

Latest commit

 

History

History
 
 

CICD-DeployIntegrationArtefactGetEndpoint

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

CICD - Deploy Integration Artefact and Get Endpoint

| Recipes by Topic | Recipes by Author | Request Enhancement | Report a bug | Fix documentation |

Axel Albrecht Axel Albrecht

This CICD Jenkins job allows you to deploy an existing integration flow on Cloud Integration runtime. Optionally you can also get the endpoint of the integration flow.

A typical flow would look something like this:

  • Create or upload an integration flow to your Cloud Integration tenant.
  • Deploy the integration flow using this pipeline job.
  • Either the integration flow starts processing a message immediately or you can send a message to the endpoint retrieved from the job.
  • Check the message processing log if the run was successful or not.
  • Do some other activities based on the result.

Instructions to consume the CICD Jenkins file

Environment Variables List

Configure the following environment variables before executing the pipeline job

Name Example Description
IntegrationFlowID "IntegrationFlow1" The ID of the integration artefact that shall be deployed to the configured Cloud Integration tenant
GetEndpoint true
false
Specify if you like to retrieve the endpoint of the deployed integration artefact. If you don't need the endpoint or the artefact does not provide an endpoint, set the value to false
DeploymentCheckRetryCounter 20 Specify the maximum count of retries checking for a final deployment status as the deployment of the integration artefact might take a few seconds. Between each check we'll wait 3 seconds
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)

Related Recipes

References