This repository contains demo files for creating a CI/CD pipeline for APIs with WSO2 API Manager with Jenkins.
This can be even used with other CI/CD tools like DroneCI/CircleCI/TravisCI etc.
- Jenkins installation
- Latest APIMCLI tool configured in Jenkins Machine
- Working API Manager instances(at least two)
- API Manager instances must be accessible from CI/CD servers
- Tweak
config.sh
to setup each API Manager as a different environment(this setup assumes you have 3 running APIM instances in port offset 0,1,2) api_params.yaml
file contains environment specific configurations. Edit this file to specify endpoint configuration, certificates for each environment etc.api_params.yaml
can be kept anywhere, in here its inside the API Project directory. It will be automatically detected by tool. You can specify a parameters file by providing--params <Path to Parameter file>