Issue Type: Improvement Improvement
Assignee: Unassigned
Components: core
Created: 21/Jul/14 3:17 AM
Description:

core/src/main/java/hudson/tasks/CommandInterpreter.java defines a join(Proc p) method that's supposed to be able to set the result to Result.UNSTABLE.

However, it has no access to the build object to call setResult(...)

It's an extension point, so while it's not used in-tree it isn't clear if there might be out-of-tree code using it. As such just replacing it with a version that takes more parameters may not be wise.

I think it's necessary to add a member variable to track the build and a protected accessor; that way the same call interface can be retained. Patch pending.

Environment: Jenkins 1.572
Project: Jenkins
Priority: Minor Minor
Reporter: Craig Ringer
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to