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

This widget could not be displayed.

I am sure it is possible. Take a look at µVISION: BUILDING TARGETS FROM THE COMMAND LINE and use the Script Task.

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.

This widget could not be displayed.

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.

This widget could not be displayed.

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.

This widget could not be displayed.

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
Community showcase
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

139 views 1 3
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