-
Task
-
Resolution: Obsolete
-
Minor
-
None
-
None
What steps OpenShift does:
1) Calls the pre-build hook
2) Calls the build hook
3) Builds the project, with quite low timeout, using mvn -e clean package -Popenshift -DskipTests
4) Calls the deploy hook
5) Deploys
6) Calls the post-deploy hook
- Want to test the OpenShift's AS instance.
- Running the AS build will download the dependencies.
- The question is, whether during post-deploy we have the local repo at hand.
- In the post-deploy hook, we will run the testsuite against the AS instance.
- To do that, we will use the allowConnectingToRunningServer Arquillian param.
- We will need to override the -DskipTests.
Things to use:
- Configure AS: .openshift/config/standalone.xml
- Deploy pre-built app: git add deployments/my-app.war
Vojta suggested we could connect the OS AS server as a Jenkins cartridge slave, and run the tests against it while having it as local, i.e. managed, AS instance.
BZ: https://bugzilla.redhat.com/show_bug.cgi?id=810946
Our OpenShift contact: Bill DeCoste, bdecoste @ #libra IRC