| 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 |
AuthType | "OAuth" "Basic" |
The Authentication Type to be used to connect to the API Portal Tenant. Values can be "OAuth" or "Basic" |
APIPortalBasicAuth | "${env.API_BasicAuth_CRED}" "API_BasicAuth_Credentials" |
The alias of the Basic credentials for the API Portal tenant which is deployed on your build server (like Jenkins) |
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 |