Member-only story

Building A Maven Project In Bamboo

Vinayak Pandey
2 min readJan 21, 2021

In this post, we’ll see how we can use Bamboo to build a simple Maven project. We’ll start with setting up Bamboo on a Windows machine and then we’ll create a plan(similar to Jenkins job) to build our project.

Step1: Launch a Microsoft Windows Server 2019 Base machine on AWS.

Step2: Install JDK8 on the machine and set JAVA_HOME variable using set JAVA_HOME=C:\Program Files\Java\jdk1.8.0_202 /M command. Make sure to change the path based on your installation directory.

Step3: Now Download Bamboo 5.9 from https://www.atlassian.com/software/bamboo/download and run the installer.You can try this setup with a newer version also.

Step4: Go to Bamboo installation directory(cd C:\Program Files\Bamboo2\bin) and run start-bamboo.bat. This will start Bamboo on port 8085.

Step5: RDP into your Windows instance and go to http://localhost:8085.On this page,you’ll see a server id which you can use to generate a trial license from https://id.atlassian.com(Create an account here and go to self-managed licensing)

Step6: Provide the license key and proceed with Express installation.Once done, create an admin user and login to Bamboo.

Step7: Now our Bamboo server is up and running and it’s time to create our Project and Plan. First download maven-3.6.3 from https://maven.apache.org/download.cgi and extract it. Now go the directory where maven was extracted and run copy mvn.cmd mvn.bat command.

--

--

Vinayak Pandey
Vinayak Pandey

Written by Vinayak Pandey

Experienced Cloud Engineer with a knack of automation. Linkedin profile: https://www.linkedin.com/in/vinayakpandeyit/

No responses yet