envVars, boolean groovySystemScript) throws ScriptTriggerException {
if (scriptFilePath == null) {
throw new NullPointerException("The scriptFilePath object must be set.");
@@ -189,7 +192,7 @@ public boolean evaluateGroovyScriptFilePath(Node executingNode, AbstractProject
scriptContent = getStringContent(executingNode, scriptFilePath);
}
- return evaluateGroovyScript(executingNode, proj, scriptContent, envVars, groovySystemScript);
+ return evaluateGroovyScript(executingNode, item, scriptContent, envVars, groovySystemScript);
}
}
diff --git a/src/main/resources/index.jelly b/src/main/resources/index.jelly
old mode 100644
new mode 100755
index ae14d0d..ddb97cc
--- a/src/main/resources/index.jelly
+++ b/src/main/resources/index.jelly
@@ -1,3 +1,4 @@
+
This plugin makes it possible to poll changes of an environment with a script.
diff --git a/src/main/resources/org/jenkinsci/plugins/scripttrigger/ScriptTrigger/config.jelly b/src/main/resources/org/jenkinsci/plugins/scripttrigger/ScriptTrigger/config.jelly
old mode 100644
new mode 100755
index 766cab9..7805f77
--- a/src/main/resources/org/jenkinsci/plugins/scripttrigger/ScriptTrigger/config.jelly
+++ b/src/main/resources/org/jenkinsci/plugins/scripttrigger/ScriptTrigger/config.jelly
@@ -1,3 +1,4 @@
+