Hi,
I am new to bitbucket CI and trying to build a pipeline to push to artifactory. My project is a maven based spring boot project. As per my understanding, the way I am trying to build the pipeline is as below :
Developer Commit to the forked branch -> CI is triggered from branch -> Build is pushed to artifactory in "Libs-Snapshot"
Developer raises the pull request, once the branch is merged -> CI will be triggered from Master -> Run the automated testcases (cucumber) -> Build deployed to "Libs-release"
Currently, whenever I am deploying from the branch, its directly pushing to "Libs-Release" instead of "Libs-Snapshot".
My pipeline is similar to the following :
https://bitbucket.org/JfrogDev/pipeline-maven-artifactory/src/master/
Kindly advise.