How to properly integrate automake with Bamboo

Our project uses autoconf/automake and automake's "make check" target to do regression testing. I currently use a simple "Script" task to run this sequence of commands:

autoreconf -fis
./configure
make
make check

The build is labeled "testless build" and the results of "make check" are treated as compilation errors.

Is that the recommended way of doing this? Should I not run "make check" as a separate task? But how do I then accesss the binary produced in the "make" step? And where is the "script" task in the "tests" task type so I can run "make check"?

Thanks already,

nick

1 answer

1 accepted

This widget could not be displayed.

Depends on your end goal. What does make check do? Does it supply test results in a format that can be understood by Bamboo (for a list, have a look at Test task type in the wizard)? If it does (or it can be configured to), you could add a test parsing task as a finalising task in your job. In this way, you'd get the test results into Bamboo.

If you have a new format, you can write a new test parser plugin - it's fairly simple and you can you use existing test parses as templates. If you don't want to do that, you can file an enhancement request for your test format at http://jira.atlassian.com

Thanks, I will try that.

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

119 views 2 0
Join discussion

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