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
Hope this helps a little bit. I'm still having problems with specs too.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.