Error when adding a new build stage on Bluemix DevOps Services

209 views Asked by At

I imported a git repository from github into Bluemix DevOps Services. Deployment works fine after creating the repository, manifest.yml, setting up the code base from "Edit Code" and launching it successfully.

However, when I tried to add a new build stage from "Build & Deploy", I received the following error message at the top of the page:

There was a problem loading the Git branches

My settings are as follows:

Input Type: SCM Repository

Git URL: https://github.com/juslee/agar.io-clone.git

Branch: Error

Stage Trigger: Automatically execute jobs when a change is pushed to Git

The error image: http://i61.tinypic.com/14jnln7.jpg

Any ideas what's wrong?

2

There are 2 answers

0
Eric Samuelsson On BEST ANSWER

There is currently a limitation using "Build & Deploy" with GitHub repositories that have a dot in their name.

To work around that you can:

  1. Delete the Bluemix DevOps Services project
  2. Rename the repository from "agar.io-clone" to, for example, "agar-io-clone"
  3. Create a new project and link it to the repository

Update: The limitation has been removed

We are working on removing this limitation

1
Jeff Sloyer On

Click on the Deploy to Bluemix button below. It references https://bluemix.net/deploy?repository=https://github.com/juslee/agar-io-clone.git.

I just deployed the application and it worked fine.

Here are some screenshots of my stages.

Make sure you have the branch set to master in the build build stage input, screenshot below.

stages build stage input build stage deploy stage