I'm trying to run the following cmd
groovy http://frankencover.it/with -source-dir MyProject/Classes -required-coverage 85
from a Jenkins server as a bash script. I get the following error:
/var/folders/mk/jw29t1bj6tg1tymgysyw83b4k_7h97/T/hudson3694832164452107476.sh: line 2: groovy: command not found
Is there a way I can let Jenkins run a groovy command? When I run the command from the terminal, it totally works fine. I do have groovy installed
Configure the Groovy path in configure system.
Then you can use Groovy plugin to execute grrovy scripts
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.