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,501,480
Community Members
 
Community Events
180
Community Groups

Why won't Bamboo scan for specs?

Edited

I've followed all the instructions from the Atlassian wiki for creating a Bamboo Specs repo (using Java specs). I can test and publish locally, but when I set up the repo as a Specs Repo, I only ever see "This repository was never scanned". When I click the Scan button, a message comes up saying that scanning started, but then nothing happens, and I don't see any conclusive errors in the logs. I tried using Docker, and not using Docker. I do have Docker installed on the machine instance (we're running in AWS), but don't see any images listed when I run the "docker images" command over SSH.

I'm not sure what further steps I should take to troubleshoot this. I've already tried all the suggestions in the first item of https://confluence.atlassian.com/bamboo/bamboo-specs-troubleshooting-938844477.html

2 answers

1 accepted

2 votes
Answer accepted

Do you have bamboo-specs folder in a root of your repository?

Here's a screenshot of what the project looks like:

2019-04-23_10-50-30.png

Should "src" be named "bamboo-specs"? I created the project with the Maven Archetype the way the tutorial had me do.

This is my pom.xml's contents (sorry, pasting stripped indentation):

<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>com.atlassian.bamboo</groupId>
<artifactId>bamboo-specs-parent</artifactId>
<version>6.7.1</version>
<relativePath/>
</parent>

<groupId>com.orion.EndurPlugins</groupId>
<artifactId>integration</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>jar</packaging>

<dependencies>
<dependency>
<groupId>com.atlassian.bamboo</groupId>
<artifactId>bamboo-specs-api</artifactId>
</dependency>
<dependency>
<groupId>com.atlassian.bamboo</groupId>
<artifactId>bamboo-specs</artifactId>
</dependency>

<!-- Test dependencies -->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>
</dependencies>

<!-- run 'mvn test' to perform offline validation of the plan -->
<!-- run 'mvn -Ppublish-specs' to upload the plan to your Bamboo server -->
</project>

All content of your repo root should be at bamboo-specs folder

/-bamboo-specs
|-src
| \java
|-pom.xml
Like Dov Frankel likes this

Oh... ok. I'll give that a shot. Is that documented and I just missed it? If so, can you please point me there to make sure I didn't miss anything else?

https://confluence.atlassian.com/bamboo/tutorial-bamboo-java-specs-stored-in-bitbucket-server-938641946.html

Note: You must create Bamboo Specs in the bamboo-specs directory, under the repository root.

Like Dov Frankel likes this

It is important to notice that the java file should be at the root folder with the rest of the content inside bamboo-specs. Don't create bamboo-specs with the java specs in it and then have separate folders.

 

@Alexey Chystoprudov For 6.8 the error logs and success logs are empty.

@Dov Frankel Did you ever figure this out? I'm having the same issue and I can't find any Atlassian documentation that discusses the naming conventions for spec files and how the scan process locates them.

Yes, if you look at the accepted answer thread, you'll see the whole project needs to be inside a `bamboo-specs` directory. That's the piece I was missing.

Thanks. I'm not sure how I missed that.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events