XUtils

travis-groovy

execute groovy scripts on travis-ci


travis-groovy

Execute groovy scripts on travis-ci

Build Status

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

image

Adding Environment Variables

Env variables added via Travis settings are accesible in the script via System.env.<var-here> syntax.

image

Scheduled Execution

Build (i.e. any script execution) can be triggered via cron settings available on Travis settings.

image

Notifications

Exiting with non-zero value is considered as build failure and a notification will be sent by Travis.


Articles

  • coming soon...