| Recipes by Topic | Recipes by Author | Request Enhancement | Report a bug | Fix documentation |
![]() |
Mahesh Srikrishnan |
---|
This CICD Jenkins job simply enables you to download all API Providers from the API Portal and store it in your source code repository like Git.
Instructions to consume the CICD Jenkins file
Configure the following environment variables before executing the Jenkins Job
Name | Example | Description |
---|---|---|
APIPortalHost | "${env.API_HOST}" "eu20apiportal.cfapps.eu20.hana.ondemand.com" |
The hostname (without HTTPS) of your API Portal tenant |
APIPortalOAuthHost | "${env.API_OAUTH_HOST}" "xxxxxx.authentication.eu20.hana.ondemand.com" |
The hostname (without HTTPS) of the OAuth token server of your API Portal tenant |
APIPortalOAuthCredentials | ${env.API_OAUTH_CRED}" "API_OAuth_Credentials" |
The alias of the OAuth credentials for the API Portal 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/API" |
Specify the folder structure in your source code repository where you like to store all the API Providers |
GITComment | "All API Providers update from CICD pipeline" |
Specify the text to be used during check-in to your source code repository |