Find Questions…

Close ×
First time here? Check out the FAQ!

Bamboo 4.x upgrade

Chuck Clelland asked this question · 61 karma ·

Hi all, just upgraded to Bamboo 4.0 build 2906 and imported my 3.4 project back in with no problem. Yeaayy!!

Our team is moving to an internally hosted Github:Enterprise server, so I pointed my repository at it using https://blahblah/blah/repo, but when i click on the Load Repositories button, it spins for a bit, buts loads nothing. I know the connectivity/etc. is good, since I can git clone the repo by hand.

Is the Source Repository tabs "Github pulldown" somehow defaulting to (which works btw) and not allowing me to go to an internal server?




Keith Miller · 191 karma ·

I'm very interested in this as well :)

One Answer:

Przemek Bruski [Atlassian] · 13,413 karma ·

Yes it does default to github. You could try running Babmoo server with


(check the url exists first).

This should let you load repositories - checkout probably won't work though. One solution would be to make resolve to your github host, another would be to change the com.atlassian.bamboo.plugins.git.GitHubRepository class and recompile it (it's pretty easy - the plugin is open source: You can even fork it and create a pull request for us ;-) .

Chuck Clelland · 61 karma ·

Hi Przemek, Thanks for the quick reply and great info!

You are correct, using the -Dattlassian.bamboo.github.api.bas.url=
allowed us to the see our Github Enterprise repo, but it would not let us do a clone.

Next, I cloned and modified the file
changing to use our Github Enterprise URL. Installed Maven 2.2.1 on Centos 6 and here's the output:

$ mvn package
[INFO] Scanning for projects...
[INFO] Unable to find resource 'com.atlassian.maven.plugins:maven-bamboo-plugin:pom:3.7' in repository central (
[INFO] Unable to find resource 'com.atlassian.maven.plugins:maven-bamboo-plugin:pom:3.7' in repository central (
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).

Project ID: com.atlassian.maven.plugins:maven-bamboo-plugin

Reason: POM 'com.atlassian.maven.plugins:maven-bamboo-plugin' not found in repository: Unable to download the artifact from any repository


from the specified remote repositories:
  central (

 for project com.atlassian.maven.plugins:maven-bamboo-plugin

[INFO] ---------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] Total time: < 1 second
[INFO] Finished at: Fri Mar 30 13:57:26 PDT 2012
[INFO] Final Memory: 5M/116M
[INFO] ---------------------------------------------------------------

Piotr Stefan Stefaniak [Atlassian] · 3,441 karma ·

Are you trying to rebuild/recompile the bamboo-git-plugin? If so you need to configure maven to use atlassian's public repositories - for me the easiest way to achieve that was to download atlassian-plugin-sdk (can you find it by yourself? I think it's pretty easy to discover it on the net) and use "atlas-mvn" tool contained in the sdk.

Chuck Clelland · 61 karma ·

Hi Piotr, I downloaded the atlassian plugin SDK, and tried a couple different things (both from within the bamboo-git-plugin root directory - where pom.xml is located):

bash-4.1$ ../atlassian-plugin-sdk-3.9.1/bin/atlas-package -DskipTests
[INFO] Unable to find resource 'com.atlassian.bamboo.plugins:atlassian-bamboo-plugin-ssh:pom:4.0-SNAPSHOT' in repository atlassian-public (
[INFO] Failed to resolve artifact.

1) com.atlassian.bamboo.plugins:atlassian-bamboo-plugin-ssh:jar:4.0-SNAPSHOT

  Try downloading the file manually from the project website.

I found this post from a year ago where the same problem happened with the 3.1-SNAPSHOT file, but mine is with the 4.0-SNAPSHOT (

I looked for the the missing file, but was unable to locate it.

Also tried this:

bash-4.1$ ../atlassian-plugin-sdk-3.9.1/bin/atlas-mvn
Executing: /home/bamboo/Downloads/atlassian-plugin-sdk-3.9.1/apache-maven/bin/mvn 
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------

You must specify at least one goal or lifecycle phase to perform build steps.
The following list illustrates some commonly used build commands:

  mvn clean
    Deletes any build output (e.g. class files or JARs).
  mvn test
    Runs the unit tests for the project.
  mvn install
    Copies the project artifacts into your local repository.
  mvn deploy
    Copies the project artifacts into the remote repository.
  mvn site
    Creates project documentation (e.g. reports or Javadoc).

I seem to be getting closer, and I really appreciate the help I've got so far on this site.


Piotr Stefan Stefaniak [Atlassian] · 3,441 karma ·

Try changing in the pom.xml the bamboo.version from 4.0-SNAPSHOT to 4.0. .

Chuck Clelland · 61 karma ·

That worked!! It just finished building successfully.

Thanks so much for your help... everybody have a great weekend. :-)

Looking for something else?

Find Questions…

or Browse other questions tagged:

or Ask a Question