Running Bamboo with Keil/ARMCC compilers. Make or other tools?

I'm looking into implementing Bamboo for CI in our development stream. We primairly use Keil uvsion with armcc for our embedded work and I would like to run builds with each checkin.

I've been looking into command line task that run Make/bat files, but haven't really found any success stories doing this.

Has anyone done this before?

4 answers

Hi Sergey,

Command line building is what I am doing with Eclipse right now, however I'm wondering if Bamboo actually can increase efficiency by using it as a CI server.

I haven't played around with Bamboo sufficiently yet to get a definite idea how useful it is. Hence asking the community for their ideas.

Hi Sergey,

Command line building is what I am doing with Eclipse right now, however I'm wondering if Bamboo actually can increase efficiency by using it as a CI server.

I haven't played around with Bamboo sufficiently yet to get a definite idea how useful it is. Hence asking the community for their ideas.

I've looked at the build scripts and it look interesting. The only issue there is that the last item in the script exits without an error, the entire job is PASS. Meaning that I would need to make a script for every line in my build process.

Is there an easier way of parsing Errors during running scripts and outputting that to Bamboo.

A little update.

I'm able to run a Keil uVision project using the script task with the following commands:

****

c:\keil\uv4\uv4.exe -b Blinky.uvproj -o errors.txt
type errors.txt

****

this will build the project just fine (advanced features such as cleanall etc dont work however).

But, even when there are warnings/errors it will NOT report any failures since it completes without a stderr output in windows.

To solve this I try and parse the logfile and generate an error, but windows doesn't like redirects very much. "grep "warning:" errors.txt >&2" generates an missing output file error. (>2 doesn't trigger anything)

"grep "warning:" errors.txt | Write-Error" seems to work ok, but it dumps the entire stacktrace into the logfile making it impossible to read.

I cannot find any tool/plugin that allows me to define a proper error parsing REGEX inside Bamboo.

A custom REGEX error parsor should be standard in a CI IMHO.

Anyone have another idea how to solve this?

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
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,802 views 0 6
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