Hide Forgot
Created attachment 822375 [details] jenkins log Description of problem: Jenkins build fails for application of download cartridge. Version-Release number of selected component (if applicable): devenv_4016 How reproducible: always Steps to Reproduce: 1. Prepare a download cartridge The one used is https://github.com/qiushui/php It is created from the instance. The menifest.yml is using "Source-Url: file:///root/php/" On instance, copy php cartridge to /root cp -r /usr/libexec/openshift/cartridges/php/ /root/ Modify cartridge vendor as "Cartridge-Vendor: qiushui" 2. Create an application of download cartridge and enable-jenkins rhc app create php1 https://raw.github.com/qiushui/php/master/metadata/manifest.yml --enable-jenkins 3. Make some changes to the local repo. Git push the change. Tail jenkins application for reference. rhc tail jenkins Actual results: Application build with jenkins will fail. No jenkins builder is created. Expected results: Jenkins build should be done successfully. Additional info: The output of "rhc tail jenkins" is added as an attachment to the bug. Part of the logs is as followng: Nov 11, 2013 6:45:53 AM hudson.plugins.openshift.OpenShiftCloud provision WARNING: Caught com.openshift.client.OpenShiftException: Cartridge for qiushui-php-5.3 not found. Will retry 4 more times before canceling build.
Created attachment 822376 [details] manifest file used
I guess the problem here is the 'file://' schema. We switched to use 'httpclient' and the 'file://' is not supported i guess. Jhon, do we want to handle the 'file://' schema as well? If answer is yes, I can update the code around 'httpclient' to read the file using File.read if the schema is 'file://'
*** This bug has been marked as a duplicate of bug 995807 ***