Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

README.md

CICD - Get Latest Message Processing Log

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

Axel Albrecht Axel Albrecht

This CICD Jenkins job enables you to get the status of the last message execution of the configured integration artefact. In case the message execution failed, the job also provides the error information.

A typical flow would look something like this:

  • You build/upload and deploy an integration flow on your Cloud Integration tenant.
  • A message gets processed.
  • Using this job, you can retrieve the MPL status of the run.
  • 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 for which you want to get the message processing log status
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"
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