Bug 1015875 - Jenkins server accepts invalid gear sizes
Summary: Jenkins server accepts invalid gear sizes
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: OpenShift Online
Classification: Red Hat
Component: Containers
Version: 2.x
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Jhon Honce
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-10-06 12:59 UTC by gideon
Modified: 2015-05-14 23:29 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-10-07 18:41:25 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description gideon 2013-10-06 12:59:35 UTC
Steps to Reproduce:
1. Create an app from the Jenkins server cartridge
2. Create a new Jenkins job
3. Set the Builder Size to a nonsensical value
4. Save the configuration

Actual results:

The configuration is saved with the invalid value.

Expected results:

The user is alerted to the invalid value, and the configuration is not saved.
Ideally, the user will only be allowed to select a builder size from a fixed list of valid sizes.

Comment 1 Dan Mace 2013-10-07 18:41:25 UTC
The long term fix for this is to remove the field entirely, which is covered in the backlog:

https://trello.com/c/asBkl7Uo/123-the-jenkins-cloud-plugin-should-use-the-originating-app-rather-than-just-builder-type-java-future

Closing this as upstream. Thanks.

Comment 2 gideon 2013-10-09 11:25:31 UTC
Will this allow for the possibility that an app needs a medium gear to compile but can run happily on a small gear, or vice versa?


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