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,294,988
Community Members
 
Community Events
165
Community Groups

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
TAGS
Community showcase
Published in Bamboo

Bamboo Data Center on Kubernetes

Hi, If you are running self-managed environments and looking to adopt modern infrastructure, Bamboo Data Center can now be deployed in a Kubernetes cluster. By leveraging Kubernetes, you can easily...

940 views 3 8
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