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

0 votes

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 Join to answer
Community showcase
Renan Battaglin
Published May 18, 2017 in Bamboo

FAQ: How to Upgrade Bamboo Server

Bamboo 5.9 will no longer be supported after June 12, 2017. What does this mean? As part of our End of Life policy, Atlassian supports major versions for two years after the first major iteratio...

1,079 views 0 5
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot