Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,560,068
Community Members
 
Community Events
185
Community Groups

Writing Bamboo Plugin for Test Runners and Parsers

I'm looking for someone to give me some guidance or point me to some good resources in creating Bamboo plugins that SPECIFICALLY target the Testing section of a Build Plan.

 

I can see looking through my Bamboo settings that the pre-packaged Plugins have modules for Test Runners, and Test Parsers e.g. NUnit, MSTest, VSTest etc so clearly there is a set of Standards, practices and algorithms for creating test runners and parsers just like there is for creating standard do some action modules as described in the many how to create a [Insert Atlassian product here] Plugin.

 

I've already played around and created a few standard plugins but I can't figure out what to do to make a plugin show up under the Testing selection of Build Plan The ultimate goal of course to have my unit and integration test results show up in the Test Results tab.

 

Little background on me

 

I'm primarily a C# Developer, and an intermediate to advanced PowerShell developer, but I can also hold my own in VBA, VBScript when necessary. I've done a lot of work in C, C++ but that was 10 plus years since i last seriously picked up those languages. As for Java I've only ever dabbled in it so i'm definitely in unfamiliar waters especially coming from a tightly integrated user friendly build environment like Visual Studio to how Java Builds are put together and managed (been playing with Eclipse to some measure of success i.e the plugins I had mentioned creating above)

 

So the question is where can I find out more about making my own test runners and parsers to use in my Bamboo Builds.

 

Thanks in advance for any help, advice or pointing me in the right direction

1 answer

0 votes
Gonchik Tsymzhitov
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Sep 23, 2018

Hi! 

If you want to start write plugins (apps) -> let's check this docs:

https://developer.atlassian.com/server/bamboo/

 

Also, you can review source code different plugins e.g.

https://bitbucket.org/iuliushutuleac/bamboo-logparser-plugin

 

About your use case, I am parsing generic logs into Junit report. Hence everything starting to universal.  

 

 

 

Cheers,

Gonchik Tsymzhitov

I've already been through the documentation on the community and as many places as i could find them including building a few of my own plugins what i can't find though is how to get the tasks parts of my plugins to go into the proper Task Type as shown below

Bamboo Tasks.pngI need them to show up here and there is nothing out there that clearly spells out what makes something a Builder, a Test parser or runner, source control, etc

Gonchik Tsymzhitov
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Sep 24, 2018

Hi @Ryan Strope

Please, put in your  atlassian-plugin.xml 

in taskType scope add this parameter:

<category name="test"/> 

 

Cheers,

Gonchik Tsymzhitov

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events