https://github.com/kdabir/travis-groovy
execute groovy scripts on travis-ci
https://github.com/kdabir/travis-groovy
groovy scripts travis-ci
Last synced: 3 months ago
JSON representation
execute groovy scripts on travis-ci
- Host: GitHub
- URL: https://github.com/kdabir/travis-groovy
- Owner: kdabir
- License: mit
- Created: 2017-08-26T06:40:42.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-04-22T08:43:41.000Z (about 7 years ago)
- Last Synced: 2025-02-13T21:50:05.869Z (4 months ago)
- Topics: groovy, scripts, travis-ci
- Language: Groovy
- Size: 7.81 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-groovy - travis-groovy - execute groovy scripts on travis-ci (Build tools, setup and CI)
README
# travis-groovy
Execute groovy scripts on travis-ci[](https://travis-ci.org/kdabir/travis-groovy)
## 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.` 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.