Skip to content
This repository has been archived by the owner on Jun 2, 2023. It is now read-only.

Smoother integration with Bluemix Devops #115

Open
hughesj opened this issue Dec 14, 2016 · 1 comment
Open

Smoother integration with Bluemix Devops #115

hughesj opened this issue Dec 14, 2016 · 1 comment

Comments

@hughesj
Copy link

hughesj commented Dec 14, 2016

I wanted to run the generated app on Bluemix Devops. So I:

  1. created a repo in GitHub
  2. unzipped the download from the app accelerator
  3. git add .
  4. git commit -m"xx"
  5. git remote add origin <git url>
  6. git push origin master

Then hit this URL: https://console.ng.bluemix.net/devops/setup/deploy?repository=<git url> which created a DevOps toolchain and pipeline.

The build stage failed because, the default java compiler in the build environment is Java 7 whereas Java 8 is required by the App Accelerator pom.xml. I had to add:

export JAVA_HOME=$JAVA8_HOME

to the Toolchain's Build Stage configuration.

Another observation here: when Bluemix Devops builds the project it runs the tests which causes Liberty 16.0.0.3 to be download (to Bluemix). That's fine, but I wonder if there's something smarter that could be done there.
Also, in this case it's not using the bluemix profile, even though I'm in Bluemix - Bluemix Devops in this case. Hopefully that isn't confusing for people.

@katheris
Copy link
Contributor

katheris commented Aug 3, 2017

@hughesj given recent updates to app accelerator can you verify whether this issue is still valid? If not you can go ahead and close it.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants