You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.