nci/data/projects/project1/config.yaml

53 lines
967 B
YAML
Raw Normal View History

2015-05-18 20:27:02 +00:00
scm:
type: mercurial
repository: ./test/repos/mercurial
rev: default
catchRev:
comment: !!js/regexp //
2015-06-23 19:18:13 +00:00
2015-05-21 21:09:16 +00:00
notify:
on:
2015-07-05 11:47:43 +00:00
- done
# - error
2015-06-12 13:26:34 +00:00
- change
2015-05-21 21:09:16 +00:00
to:
console:
2015-07-05 11:47:43 +00:00
# mail:
2015-05-21 21:09:16 +00:00
# - oleg.korobenko@gmail.com
2015-07-05 11:47:43 +00:00
# - oleg.poligon@gmail.com
2015-05-21 21:09:16 +00:00
# jabber:
# - oleg.korobenko@gmail.com
2015-06-13 18:59:32 +00:00
trigger:
after:
- status: done
project: project2
2015-06-15 19:16:46 +00:00
blockedBy:
# - project2
- !!js/regexp /project2|nci/
blocks:
- project2
2015-05-18 20:27:02 +00:00
steps:
- cmd: >
2015-05-21 21:09:16 +00:00
echo "long multiline string" &&
sleep 2 &&
echo "is not a problem when you're using yaml" &&
echo "cur dir is `pwd`"
# - name: sleep
# cmd: sleep 4
- cmd: echo 1 > 1.txt
2015-05-21 21:09:16 +00:00
# - cmd: sleep 4
- cmd: echo 2 > 2.txt
- cmd: cat 1.txt 2.txt
2015-06-14 20:18:40 +00:00
- shell: /bin/bash
cmd: >
for i in {1..10}; do
2015-06-14 20:18:40 +00:00
echo "tick $i";
sleep 0.3;
done;