Skip to content

Commit

Permalink
Fix JENKINS-11907
Browse files Browse the repository at this point in the history
  • Loading branch information
gboissinot committed Dec 11, 2011
1 parent d45a45f commit 588fa0f
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -88,14 +88,15 @@ public void run() {
String cause = extractRootCause(scriptContent);
Action[] actions = getScheduledActions(scriptContent);
project.scheduleBuild(0, new ScriptTriggerCause(cause), actions);
scriptTriggerLog.closeQuietly();
} else {
logNoChanges(scriptTriggerLog);
}
} catch (ScriptTriggerException e) {
scriptTriggerLog.error("Polling error " + e.getMessage());
} catch (Throwable e) {
scriptTriggerLog.error("SEVERE - Polling error " + e.getMessage());
} finally {
scriptTriggerLog.closeQuietly();
}
}

Expand Down

0 comments on commit 588fa0f

Please sign in to comment.