Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How do you configure a plan to build and deploy a .ear file to a JBoss server?

We are currently evaluating Bamboo 3.2.2. Up to now all our builds have basically been just creating a .EAR file in our IDE (JBoss developer studio) and deploying that .ear to the application server. How would you build a plan in Bamboo to do this?

1 answer

You can create an .ear file using Ant or Maven and use the Ant or Maven Tasks in Bamboo to run Ant/Maven. Regarding the deployment, you could copy the created artifact to the JBoss server via SSH and configure JBoss to auto-deploy.

Thank you. I've figure out how to create the .ear file using and Ant script. But now how do I copy the created artifact to my JBoss deploy directory? I don't see any task types to do this.

Is the JBoss deploy directory on the same agent? If so, you can simply use the script task to move the file into the JBoss directory. If it's on a seperate machine, you could use an Ant SCP task to transfer the file.

We are hoping to provide a Bamboo native SCP task soon to make this process easier.

Thank for the idea about using Ant SCP, but now it appears I'll have to install some kind of SSH server on the target machine (Windows 2003 server) in order to use it.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bamboo

Bamboo Data Center is here!

G’day Bamboo customers, The wait is over! Bamboo Data Center edition you have been asking for is finally here! This self-managed enterprise offering of Bamboo has the resilience, reliability, and s...

542 views 1 17
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you