Bug 997763
Summary: | Fail to add Jenkins-client via "--enable-jenkins" option with/without jenkins server | ||
---|---|---|---|
Product: | OpenShift Online | Reporter: | Zhe Wang <zhewang> |
Component: | oc | Assignee: | Fabiano Franz <ffranz> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | libra bugs <libra-bugs> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 2.x | CC: | ccoleman, xtian |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2013-08-29 12:51:44 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Zhe Wang
2013-08-16 07:49:09 UTC
Old RHC clients have a reference to jenkins-client-1.4 and jenkins-1.4 because that's what they needed to do. The rest client needs to change to use tags and to scan for something that looks like jenkins without the version. This means that old clients are broken when the rename is delivered. Fabiano, we should find the latest copy of jenkins server and client by: find all carts with "ci_builder" (or ci for jenkins) and name starts with "jenkins", then sort by name. Should be a helper method in app.rb probably. Commits pushed to master at https://github.com/openshift/rhc https://github.com/openshift/rhc/commit/08b0593cfcd8b64188ce71bbac187012b32cd18b Bug 997763 - find jenkins cartridges by tag and base name https://github.com/openshift/rhc/commit/4a04c51b26794ed2fc9cd0d0ad685c3788ba238d Bug 997763 - encapsulated fetch of jenkins cartridges names https://github.com/openshift/rhc/commit/733e20d26cddbbcac2d83c2c4143ef612880ebb7 Bug 997763 - raise error if server does not provide a Jenkins cartridge Verified in devenv_3680: [zhe@fedora run11]$ rhc app create rb9 ruby-1.9 --enable-jenkins Application Options ------------------- Namespace: dev3680tst Cartridges: ruby-1.9 Gear Size: default Scaling: no Creating application 'rb9' ... done Setting up a Jenkins application ... done Jenkins created successfully. Please make note of these credentials: User: admin Password: MDXefGkzR2xV Note: You can change your password at: https://jenkins-dev3680tst.dev.rhcloud.com/me/configure Setting up Jenkins build ... done Associated with job 'rb9-build' in Jenkins server. Waiting for your DNS name to be available ... done Your application 'rb9' is now available. URL: http://rb9-dev3680tst.dev.rhcloud.com/ SSH to: 5214973acc7c814446000022.rhcloud.com Git remote: ssh://5214973acc7c814446000022.rhcloud.com/~/git/rb9.git/ |