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

Commit / tag on failure #132

Closed
wants to merge 1 commit into from
Closed

Conversation

rskang
Copy link

@rskang rskang commented Jan 6, 2015

Also shows names as well as IDs in the Build Data section

Code by @djl197 I just merged it onto a more current master

Review on Reviewable

Also shows names as well as IDs in the Build Data section

Code by @djl197 I just merged it onto a more current master
@rskang rskang mentioned this pull request Jan 6, 2015
@KostyaSha
Copy link
Member

It doesn't cover all use cases, job status can be also Unstable. Some hetero list with dropdown cases should resolve it more dynamic and modular instead hardcoded checkboxes.

@magnayn
Copy link
Contributor

magnayn commented Jan 20, 2015

Yep - this would be good (something we've found we need too, where a unit test fails it'd still be nice to pull the container to figure out why).

@rskang
Copy link
Author

rskang commented Jan 20, 2015

Yep. Selecting a threshold or a multi-select box to cover all cases is a much better idea.

@@ -73,6 +81,7 @@ public boolean isApplicable(Class<? extends Job> jobType) {
public DockerJobProperty newInstance(StaplerRequest sr, JSONObject formData) throws hudson.model.Descriptor.FormException {
return new DockerJobProperty(
(Boolean)formData.get("tagOnCompletion"),
(Boolean)formData.get("tagOnFailure"),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not use getBoolean method?

@KostyaSha
Copy link
Member

#181 related

@KostyaSha KostyaSha self-assigned this Apr 23, 2015
@KostyaSha KostyaSha added the tag label Apr 24, 2015
@KostyaSha KostyaSha removed their assignment Oct 14, 2015
@pjdarton
Copy link
Member

Closing due to inactivity.

@pjdarton pjdarton closed this Jan 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants