You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 29, 2018. It is now read-only.
I want to use the external jenkins to build my Java application and want to deploy my .war to Openshift's "jbossews-2.0" gear.
I have built this plugin using Maven and have placed the openshift.hpi file in my jenkins.
I have done following steps in my jenkins:
I have added the Openshift cloud information like from Manage Jenkins:
Openshift Username,password, broker hostname, broker port
Created a build job with following values for openshift variables:
a. Job/Project name: jbossews-2.0
b. Application UUID: jbossews-2.0
c. Buffersize: small
d. Builder Timeout: 300000
e. Builder type: (empty)
When I try to build the job, it fails with following enteries in Jenkins system.log:
Checking capacity
Mar 26, 2014 6:31:03 PM INFO hudson.plugins.openshift.OpenShiftCloud hasCapacity
User has consumed 3 of 100 gears.
Mar 26, 2014 6:31:03 PM INFO hudson.plugins.openshift.OpenShiftCloud reloadConfig
Reloading configuration for jbossews-2.0...
Mar 26, 2014 6:31:03 PM WARNING hudson.plugins.openshift.OpenShiftCloud provision
Caught java.net.MalformedURLException: For input string: "null". Will retry 1 more times before canceling build.
Above log entries show that the connection with the broker looks successful.
According to source code of plugin, OpenShiftCloud.java tries to copy config.xml of an Jenkins job where it fails.
So, my questions;
Do we need additional configuration on openshift side like pre-configured jenkins or something like that.
Any more configuration required in my external Jenkins job?