Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Maximum Total Uses cannot be changed and it always appears as -1 #397

Closed
benipeled opened this issue Aug 15, 2023 · 1 comment
Closed

Maximum Total Uses cannot be changed and it always appears as -1 #397

benipeled opened this issue Aug 15, 2023 · 1 comment
Assignees
Labels

Comments

@benipeled
Copy link

Issue Details

Describe the bug
When creating a new fleet or editing an existing one, whatever you set on the Maximum Total Uses option, will be changed to -1. I'm not sure if it's UI bug only

To Reproduce

  1. Create a new Amazon EC2 Fleet cloud
  2. Set the Maximum Total Uses to 1

Result: Maximum Total Uses set to -1
Expected result: Maximum Total Uses set to 1

Environment Details

Plugin Version?
2.7.1

Jenkins Version?
2.418

Spot Fleet or ASG?
Spot Fleet

Label based fleet?
No

Linux or Windows?
Linux

@benipeled benipeled added the bug label Aug 15, 2023
@vineeth-bandi vineeth-bandi self-assigned this Aug 15, 2023
@vineeth-bandi
Copy link
Collaborator

@benipeled
It seems like this bug is mostly visual. The problem appears to be that every time the Jenkins Cloud Configuration page is loaded, the value is set as the default value of -1 in the UI. This can cause a problem if you change a setting in any Cloud but don't change the value of Maximum Total Uses to the intended value. I will look into a fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants