Skip to content

Latest commit

 

History

History
 
 

CICD-DeployRunOnceIntegrationArtefactAndCheckMpl

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

CICD - Deploy Run Once Integration Artefact and Check MPL

| 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 integration flow, check its deployment status and the message processing log status of the message execution that gets automatically triggered after the deployment due to a scheduler configuration or the consumption of files from a (S)FTP server or messages from a JMS queue. In case of a failure during deployment or during message processing the job will provide you the error details as well.

A typical work flow would look something like this:

  • You build an integration flow on your Cloud Integration tenant.
  • Using this job, the integration artefact will be deployed and a message will be automatically triggered.
  • The job will provide you the message processing log status.
  • Based on the message processing log status you can perform certain activities like passing a Q-Gate, etc.

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
FailJobOnFailedMPL true
false
Specify if the job should fail in case the status of the retrieved message processing log is Failed or Retry. If you are doing negative testing and you're expecting the integration artefact run to fail, set this 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 for 3 seconds
MPLCheckRetryCounter 10
Specify the maximum count of retries for checking the final MPL status as the process might run for a while. Between each check we'll wait for 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