Im trying to execute groovy command using the groovy plugin
In "execute groovy script" i tried both groovy command and groovy script file.
getting error:
Groovy executable is NULL, please check your Groovy configuration, trying fallback 'groovy' instead.
..... groovy /path_to_file_name.groovy
/usr/bin/groovy: line 40: ls: command not found
/usr/bin/groovy: line 41: expr: command not found
/usr/bin/groovy: line 42: expr: command not found
/usr/bin/groovy: line 45: dirname: command not found
/usr/bin/groovy: line 49: dirname: command not found
/usr/bin/groovy: line 51: /startGroovy: No such file or directory
so
1) how should i configure groovy to work with jenkins?
2) how should i configure jenkins groovy plugin?
3) any other relevant how to.
Thanks.