This is the continuation of my previous article "BitBucket CI/CD Pipelines" https://dev.to/raghwendrasonu/bitbucket-ci-cd-pipelines-399e.
In BitBucket Pipelines, we can also have multiple steps.
Edit your bitbucket-pipelines.yml file with multiple steps as below:
name: Maven Clean Build
- mvn -B clean
name: Maven Compile Build
- mvn -B compile
name: Maven Package Build
- mvn -B package
So, as you see i have 3 different steps now. First step is Clean then Compile and finally Package. Once done, push the code to BitBucket and enable pipeline.
After that, you will see repo getting automatically built and result of each step will be displayed.
BitBucket link for the Repo: https://bitbucket.org/raghwendrasonu/obfuscation_implementation/