Skip to content
Permalink
Browse files
Fix JENKINS-11907
  • Loading branch information
gboissinot committed Dec 11, 2011
1 parent d45a45f commit 588fa0fea6c23fc65ad82ac2ade5065d8eaadfc2
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/main/java/org/jenkinsci/plugins/scripttrigger/AbstractTrigger.java
@@ -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();
}
}

0 comments on commit 588fa0f

Please sign in to comment.