Saturday, March 17, 2018

Bamboo with BitBucket Maven Project

Step 1:- Create Bamboo project

Image1Image2

Step 2:- Create Plan

Image3Image4Image5

Step3:- Configure Task in the above created Plan.

Image6

If you see in above image it shown one task already created and that is checking out of the code in repository
Lets create a new Task that will execute the Maven Build i.e. build.xml from our Maven project kept at BitBucket using bamboo tool.
Click on "Add task" button and as we are using Maven 3 we will configure the same in the Bamboo.
Image7Image8Image9
cick on save and create button.
Step4:- Execute the task and see the build is prepared.

Image10Image11Image12

Step 5:- Check if our war is created properly at given locations.

Please note while using Bamboo version of 6.4.0 we were facing issue with Test Connection button and it was throwing error "git credentials storage exception". So we had taken lower version 6.3.2 and it work like charm.

No comments: