In REST API version 1.0 (running a LiveCD on VirtualBox), I got the following error message when I tried to install a jenkins-client on my application. Could not embed cartridges for application test2 Could not request https://192.168.56.101/broker/rest/domains/devoxx/applications/test2/cartridges: Operation failed on parameter "cartridge", sevirty "ERROR" with exit code "157".Reason given: "Error contacting Jenkins server. Could not download https://jenkins-devoxx.example.com/jnlpJars/jenkins-cli.jar" I also created the jenkins application since I did not have one in my domain before, so my guess is that the lib download occurred before the application was available, which ended up with that error message. Trying to install the same jenkins-client embedded cartridge a few minutes later worked.
We think this is fixed upstream in v2 which means it should be fixed in origin fairly soon.
Should have been fixed with v2
Checked on the latest Origin vm (https://mirror.openshift.com/pub/origin-server/release/2/images/openshift-origin.zip) Create app with the --enable-jenkins option, the app can be created and the jenkins-client can be added. Move bug to verified. # rhc app create app2 php-5 --enable-jenkins --no-dns Using php-5.5 (PHP 5.5) for 'php-5' Application Options ------------------- Domain: domain1 Cartridges: php-5.5 Gear Size: default Scaling: no Creating application 'app2' ... done Setting up a Jenkins application ... done Jenkins created successfully. Please make note of these credentials: User: admin Password: tiV2MTFBi-g4 Note: You can change your password at: https://jenkins-domain1.openshift.local/me/configure Setting up Jenkins build ... done Associated with job 'app2-build' in Jenkins server. Your application 'app2' is now available. URL: http://app2-domain1.openshift.local/ SSH to: 5285c49748d98b8282000082.local Git remote: ssh://5285c49748d98b8282000082.local/~/git/app2.git/ Run 'rhc show-app app2' for more details about your app.