It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Bamboo yaml specs vs pom.xml? Edited

I try to make our first Bamboo YAML specs build, no luck so far.

I created a new (empty) repository for the YAML files and added this to bamboo as a linked repository and enabled Bamboo specs for that.  I placed a new YAM in the  bamboo-specs directory (BTW: the documentation doesn't mention the dir I had to figure out from logs). My specs file is very simple, based on the dummy example in the documentation (yes, I have an 'XP' project):

 

---
project:
key: XP
plan:
key: TEST1
name: Bamboo specs test plan
stages:
- jobs:
- scripts:
- echo 'Going to kill the dragon, watch me'
- sleep 1
- echo 'Nailed it'

 

And now I see an error on the "Sepcs Status" tab, however the error log is an empty file.

In the bamboo log I see the problem, it's missing a pom.xml file.

2018-07-30 17:28:13,015 INFO [15-BAM::SpecsDetection:pool-22-thread-2] [RssDetectionRunnable] Exception while executing RSS detection for repository 171999235
java.lang.IllegalStateException: Unable to locate pom.xml file in /home/bamboo/Bamboo.home/xml-data/build-dir/serverSide/REPOSITORY_STORED_SPECS/repository-171999235/checkout/bamboo-specs
at com.google.common.base.Preconditions.checkState(Preconditions.java:197)

 

Why do I need a pom,xml for bamboo specs? And what to put there?

 

ps: Bambo version 6.5.0

1 answer

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bamboo

Unable to add or edit Bitbucket Cloud repository in Bamboo

On 31 May, a GDPR-related change went live in the Bitbucket Cloud API that resulted in users not being able to create or edit Bitbucket Cloud Linked repositories in Bamboo. This API update removed t...

672 views 2 7
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you