Skip to content

kdabir/travis-groovy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

execute groovy scripts on travis-ci

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages