Deploy the task application to IBM Cloud, create a Git repo, and a toolchain
Execute the following commands from the Eclipse project directory.
Configure access from your machine to your new Git repo
Follow the steps in this recipe: Connect to an IBM Cloud Git repo from your local machine
Configure the DevOps pipeline to build from the Git repo using Maven
Perform the following actions on IBM Cloud DevOps. You can just go with the defaults as shown on the screenshots unless you want to modify something, such as Maven build details.
Set up your local repo, modify, and push to the IBM Cloud Git repo
You can use Eclipse or any other text editor to make changes the java application file. The example below uses a “sed” command to do that from command line.
Observe the automatic build and deployment of your Spring Task using the DevOps pipeline