Working on an API Connect sample pipeline
For you to build a pipeline in Jenkins, it's a good idea to identify the stages you want to initiate. For this simple sample pipeline, you will be creating a Jenkinsfile that does the following:
- Clones a repository from Git to a workspace on Jenkins server
- Utilizes the API Connect toolkit CLIs to log on to the target servers
- Publishes the product to the Sandbox catalog
- Runs unit tests on the deployed product
- Publishes the product to the Q&A catalog
Although this is a simple example, you should be able to add additional stages and steps to suit your environment.
The Jenkinsfile is provided for your review in the book's GitHub repository here: https://github.com/PacktPublishing/Digital-Transformation-and-Modernization-with-IBM-API-Connect/blob/main/Chapter14/Jenkinsfile.
You will be working with Jenkins, and with customizable software packages, there is some initial configuration that needs...