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.
I wanted to run the generated app on Bluemix Devops. So I:
git add .
git commit -m"xx"
git remote add origin <git url>
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.