Skip to content

Commit

Permalink
[JENKINS-23740] Update BuildTimeoutWrapper.java
Browse files Browse the repository at this point in the history
Re-use opList so that if null or empty, default to AbortOperation is used.
  • Loading branch information
lrobertson39 committed Jul 10, 2014
1 parent ca80b3f commit cf1fd6f
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -136,7 +136,7 @@ public void doRun() {
// defaults to AbortOperation.
opList = Arrays.<BuildTimeOutOperation>asList(new AbortOperation());
}
for( BuildTimeOutOperation op: getOperationList() ) {
for( BuildTimeOutOperation op: opList ) {
try {
if (!op.perform(build, listener, effectiveTimeout)) {
operationFailed = true;
Expand Down

0 comments on commit cf1fd6f

Please sign in to comment.