From b95623bcd0c4ab35866cac00fdf1a578910a4f3c Mon Sep 17 00:00:00 2001 From: chetantarale Date: Thu, 23 Mar 2017 14:55:22 +0530 Subject: [PATCH] Initial commit --- README.md | 8 +++++++- shippable.jobs.yml | 9 +++++++++ shippable.resources.yml | 5 +++++ 3 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 shippable.jobs.yml create mode 100644 shippable.resources.yml diff --git a/README.md b/README.md index 4b21db2..3a88914 100644 --- a/README.md +++ b/README.md @@ -1 +1,7 @@ -# trigger-nightly-builds-syncRepo \ No newline at end of file +# trigger-nightly-builds-syncRepo + +Defines resources and jobs to set up nightly builds. [Here](http://blog.shippable.com/setup-nightly-builds-on-shippable) is a tutorial on how to set up nightly builds on shippable. + +# Links + - [SETTING UP NIGHTLY BUILDS ON SHIPPABLE](http://blog.shippable.com/setup-nightly-builds-on-shippable) + - [Shippable](http://www.shippable.com) diff --git a/shippable.jobs.yml b/shippable.jobs.yml new file mode 100644 index 0000000..3685774 --- /dev/null +++ b/shippable.jobs.yml @@ -0,0 +1,9 @@ +jobs: + - name: sample_node_runCI + type: runCI + steps: + - IN: nightly-trigger + on_success: + - script: echo 'on success !!!!!' + on_failure: + - script: echo 'Failed job .... :(' diff --git a/shippable.resources.yml b/shippable.resources.yml new file mode 100644 index 0000000..bc8081b --- /dev/null +++ b/shippable.resources.yml @@ -0,0 +1,5 @@ +resources: + - name: nightly-trigger + type: time + seed: + interval: "0 22 * * *"