How do I build an RPM using Bamboo?

Hello, I am trying to stand up a bamboo instance and after completing a source pull and build, I would like to create an RPM for distribution to my server. Is there any information regarding how to do this or a best practice? Based on what came stock inside of Bamboo, it looks like I could do it inside of a Command Task, but I would prefer something a bit more reusable if possible.

Thank you.

-John Chaney

3 answers

1 accepted

1 vote
Accepted answer

Hi,

Note that if you can perform on your instance command line, you can do it using Bamboo. I believe you can create a script and execute it setting a script task in Bamboo: https://confluence.atlassian.com/display/BAMBOO/Script

Cheers,

Lucas Lima

This answer is definitly what I ended up implementing. The process of making RPMS is easily scritable for some sections, and needs to be configured on a per project basis in others. I suppose I was hoping for a plugin to be available, but this method will suit my needs and make me learn something new. So thanks.

At my company we build RPMS using an ant script that calls the ant RPM task. There wasn't any difference having Bamboo run this.

He's asking how to build an RPM packing using Bamboo not how to package Bamboo in an RPM.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

807 views 3 9
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you