-
Notifications
You must be signed in to change notification settings - Fork 98
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
[JENKINS-49707] Agent missing after controller restart to fail resumption of node
step, not kill whole build
#180
Changes from all commits
fec8b95
5bb6378
aeb67be
aa00f8d
57e1ed0
b43f084
8796113
802accd
4f0878c
bfac529
d03e043
98fe3e8
f149cdb
f798bfa
f8bcbe6
3a6bad4
2c0f41b
1cc20e6
65a5749
2d03a46
b65ff1c
1edef32
6cd1cf2
2455149
64c123a
a54afe2
8a49c9e
a7f21b5
0c554d3
5d83e63
e138f6f
8beb608
8800d55
9c71521
b5880ca
b78373e
e1b4bb7
3f0e140
dbc3387
3223668
a968adf
6a9854c
75b2375
79d4ff0
8b08398
46821ed
db3d043
f4660d6
242f829
8e25c8f
1c42f39
5abe7a4
39b0bd3
6b82cc9
56e8777
3035961
02fbe3a
7231de1
c663479
7cd4bdd
c134cc4
2a40b11
f46dd04
f76de40
974a71e
67f2180
0a995a3
9a63dd9
59ce004
7b49dcb
0a5c299
b9618c5
05c77e0
48950fd
b2bf524
3ebbf94
4a8e223
2699896
17476f7
9865461
a437c24
26175b3
8d39d15
2e95e3a
9eaca4a
efdb6ee
97365d4
edbd309
e022b6b
4b48432
84036f7
fcea63a
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,12 +31,14 @@ | |
import hudson.model.Computer; | ||
import jenkins.model.Jenkins; | ||
import org.jenkinsci.plugins.workflow.flow.FlowExecutionOwner; | ||
import org.jenkinsci.plugins.workflow.support.steps.ExecutorStepDynamicContext; | ||
|
||
/** | ||
* Reference to {@link Computer} | ||
* | ||
* @author Kohsuke Kawaguchi | ||
* @deprecated Normally now done via {@link ExecutorStepDynamicContext}. | ||
*/ | ||
@Deprecated | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can the factories for these pickles be deleted or replaced with an implementation that just throws an exception if it encounters an object of the specified type? Or do you want to keep them around in case some other step or wild Groovy code is relying on them? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I plan to retain them for compatibility. Weird Pipeline script is one possibility. They could also be used in other Pipeline steps; I know |
||
public class ComputerPickle extends Pickle { | ||
private final String slave; | ||
|
||
|
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.
Note that
workflow-durable-task-step-plugin/src/main/java/org/jenkinsci/plugins/workflow/support/steps/AgentErrorCondition.java
Lines 60 to 62 in 97365d4
actualInterruption
check in https://github.com/jenkinsci/workflow-basic-steps-plugin/blob/d57e3ca46d24bb91b8410467284176b0f319c64e/src/main/java/org/jenkinsci/plugins/workflow/steps/RetryStepExecution.java#L93 so the distinction would only matter for other catching steps like https://github.com/jenkinsci/workflow-basic-steps-plugin/blob/d57e3ca46d24bb91b8410467284176b0f319c64e/src/main/java/org/jenkinsci/plugins/workflow/steps/CatchErrorStep.java#L229