Bug 867264 - User can not "Add jenkins" to apps without jenkins server.
Summary: User can not "Add jenkins" to apps without jenkins server.
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OKD
Classification: Red Hat
Component: Website
Version: 2.x
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Clayton Coleman
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-10-17 07:32 UTC by Mengjiao Gao
Modified: 2015-05-15 01:15 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-11-06 18:50:15 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Mengjiao Gao 2012-10-17 07:32:05 UTC
Description of problem:
When I tested on devenv_2340, I firstly created an application. Then I tried to enable jenkins to it. But when I clicked the "Add Jenkins" button in the enable jenkins page, the page will stay on , and cannot add jenkins server succuessfully.

Version-Release number of selected component (if applicable):
devenv_2340

How reproducible:
always

Steps to Reproduce:
1.Go to the website and log in , ensure there's no jenkins server app in the account.
2.Create an application, eg.wordpress, Jboss EAP.
3.Go to the the app detail page :/app/console/applications/<app name>
4.Clicked the "Enable Jenkins builds" link.
5.Input a valid app name in the following add jenkins page.
6.Clicked "Add jenkins" button.
  
Actual results:
The page will stay without any skip. And the jenkins server cannot be added successfully.

Expected results:
Jenkins server should be added successfully, and the page should redirected to a successfully added page with jenkins server's username and password shown.

Additional info:
If I created a jenkins server application first in this account as steps below, the enable jenkins operation will be successful without error.

1.Go to the website and log in , ensure there's no jenkins server app in the account.
2.Create an application, eg.wordpress, Jboss EAP.
3.Create an jenkins server app.
4.Go the the app detail page :/app/console/applications/<app name>
5.Clicked the "Enable Jenkins builds" link.
6.Clicked "Add jenkins" button.

Comment 1 Clayton Coleman 2012-10-17 15:04:15 UTC
https://github.com/openshift/origin-server/pull/693

Comment 2 Yujie Zhang 2012-10-18 10:15:52 UTC
Wait for devenv_2342 is ready to test this issue.

Comment 3 Yujie Zhang 2012-10-18 10:55:30 UTC
(In reply to comment #1)
Tested this issue on devenv_2342, enable jenkins can be successful now, thanks.


Note You need to log in before you can comment on or make changes to this bug.