Show compilation errors from MSBuild how ?

Hi,

I use CruiseControl today to call a build script that build all my projects and then CruiseControl parses that and shows which project or where there is a compilation error when such one occurs. How do i accomplish the same with Bamboo ?

donnib

2 answers

This widget could not be displayed.

ok, off twitter i got some answers : https://twitter.com/mihaicph/status/324041318634487809

Conclusions :

- I can't do what i want.

- I should split the my build script and make a job for each of those (not a good solution for me)

What i wish Bamboo has was something like this : https://wiki.jenkins-ci.org/display/JENKINS/Log+Parser+Plugin

for now i am leaning towards dropping Bamboo (i was rather exited about it) because without this it's going to be a step back from Cruise Control .NET.

Hi donnib,

I was wondering if you had checked the marketplace (https://marketplace.atlassian.com) - I wouldn't be highly suprised if there was already some plugin for Bamboo which scans the build logs and do something with them. On the other hand there might be none of such plugin. Anyway, I've wanted to point you out such option, as I'm not sure if you had already explored it.

On the other hand I'm wondering how do you find writing plugins? Because if you're familiar with java I think you could consider writing up a personal plugin that would parse your build logs and display what you want when a complitaion error (or similar) occurs. I vaguely remember, that there was even a bamboo tutorial for a plugin doing some parsing of the bamboo build logs... here: https://confluence.atlassian.com/display/BAMBOO026/Tutorial+1+-+Getting+Started+with+a+Simple+Post+Build+Labeller - note however it is for an oooold Bamboo version (2.6). But the point is that technically it is possible to write up an in-house plugin for Bamboo that would parse the output (and do something with it, like label the build, or display some info on the additional web-panel).

In any way I don't want to persuade you to follow these solutions (I don't know you nor your needs, but I guess you'd prefer to have a working out-of-the-box product, than to hack the product by yourself), but I thought you might be interested. Just in case. :)

regards,
Piotr Stefaniak
Bamboo developer

This widget could not be displayed.

Hi Piotr,

thanks for taking the time to reply. I did indeed look in the marketplace and was suprissed nobody made such a plugin.

I never wrote a plugin but can program, the only thing is i don't want to reinvent the wheel again so if i had to do it myself i would need to have a library of how to understand errors/warning from Visual Studio and i am not sure how one could show it on Bamboo but i guess your example might show that.

It's obvious that i would like something working out of the box since i have that already in Jenkins and CruiseControl.NET.

At the moment i am trying to write a task for each project (just to see behaviour of Bamboo) i am building but it's a tedious job since i have 100+ tasks i need to create (all msbuild) and Bamboo does not offer Clone or Duplicate, not even a shortcut to create a Task quicker so it's 'really time consuming to do as you can imagine.

donnib

Uh, 100+ tasks you say? Yes, I can imagine the pain :(.

I think I won't be able to help you further - my practical Bamboo knowledge ends here.

regards!

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...

115 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