Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
Add spotVM and maxRunDuration feature to VM provisioning #492
base: develop
Are you sure you want to change the base?
Add spotVM and maxRunDuration feature to VM provisioning #492
Changes from 3 commits
742724e
0f38202
d8e0bca
615e605
d57ea0c
579410e
17a0113
411e510
3ddd4d3
363925a
f4c7154
74fe8c3
cfae906
937abdf
8fa2222
1708135
e806d25
50a74b8
3e7e787
244da59
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
Check warning on line 141 in src/main/java/com/google/jenkins/plugins/computeengine/InstanceConfiguration.java
ci.jenkins.io / Code Coverage
Not covered lines
Check warning on line 516 in src/main/java/com/google/jenkins/plugins/computeengine/InstanceConfiguration.java
ci.jenkins.io / Code Coverage
Partially covered line
Check warning on line 522 in src/main/java/com/google/jenkins/plugins/computeengine/InstanceConfiguration.java
ci.jenkins.io / Code Coverage
Not covered lines
Check warning on line 524 in src/main/java/com/google/jenkins/plugins/computeengine/InstanceConfiguration.java
ci.jenkins.io / Code Coverage
Partially covered line
Check warning on line 528 in src/main/java/com/google/jenkins/plugins/computeengine/InstanceConfiguration.java
ci.jenkins.io / Code Coverage
Partially covered line
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Check warning on line 1014 in src/main/java/com/google/jenkins/plugins/computeengine/InstanceConfiguration.java
ci.jenkins.io / Code Coverage
Not covered lines
Check warning on line 28 in src/main/java/com/google/jenkins/plugins/computeengine/ui/helpers/PreemptibleVm.java
ci.jenkins.io / Code Coverage
Not covered lines
Check warning on line 39 in src/main/java/com/google/jenkins/plugins/computeengine/ui/helpers/PreemptibleVm.java
ci.jenkins.io / Code Coverage
Not covered line
Check warning on line 40 in src/main/java/com/google/jenkins/plugins/computeengine/ui/helpers/ProvisioningType.java
ci.jenkins.io / Code Coverage
Not covered lines
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Using an enum here kind of defeats the purpose of having extensibility. I think it is not needed anyway as it is only used for casc compatibility which is not usually kept as per Bobby. But just in case you face this use case in the future, I would recommend either adding a specific check method returning boolean on the base implementation, or a marker interface that PreemptibleVm could implement
Check warning on line 22 in src/main/java/com/google/jenkins/plugins/computeengine/ui/helpers/ProvisioningTypeValue.java
ci.jenkins.io / Code Coverage
Not covered lines
Check warning on line 28 in src/main/java/com/google/jenkins/plugins/computeengine/ui/helpers/SpotVm.java
ci.jenkins.io / Code Coverage
Not covered lines
Check warning on line 39 in src/main/java/com/google/jenkins/plugins/computeengine/ui/helpers/SpotVm.java
ci.jenkins.io / Code Coverage
Not covered line
Check warning on line 28 in src/main/java/com/google/jenkins/plugins/computeengine/ui/helpers/Standard.java
ci.jenkins.io / Code Coverage
Not covered lines
Check warning on line 39 in src/main/java/com/google/jenkins/plugins/computeengine/ui/helpers/Standard.java
ci.jenkins.io / Code Coverage
Not covered line
This file was deleted.