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