Execute groovy scripts on travis-ci
- Fork this repo and enable build on travis.
- Example
script.groovyincluded in the repo. Replace it with groovy script(s) of choice. - Execute multiple groovy scripts by adding commands to
scriptssection in.travis.yml - All groovy scripting goodness like
Grabavailable in the scripts.
Here is the sample output
Env variables added via Travis settings are accesible in the script via System.env.<var-here> syntax.
Build (i.e. any script execution) can be triggered via cron settings available on Travis settings.
Exiting with non-zero value is considered as build failure and a notification will be sent by Travis.


