2015-05-18 20:27:02 +00:00
|
|
|
|
|
|
|
name: project1
|
|
|
|
|
|
|
|
scm:
|
|
|
|
type: mercurial
|
|
|
|
repository: ./test/repos/mercurial
|
|
|
|
rev: default
|
|
|
|
|
2015-05-21 21:09:16 +00:00
|
|
|
notify:
|
|
|
|
on:
|
2015-06-12 13:26:34 +00:00
|
|
|
# - success
|
|
|
|
# - fail
|
|
|
|
- change
|
2015-05-21 21:09:16 +00:00
|
|
|
to:
|
|
|
|
console:
|
|
|
|
# email:
|
|
|
|
# - oleg.korobenko@gmail.com
|
|
|
|
# jabber:
|
|
|
|
# - oleg.korobenko@gmail.com
|
|
|
|
|
2015-06-13 18:59:32 +00:00
|
|
|
trigger:
|
|
|
|
after:
|
|
|
|
- status: done
|
|
|
|
project: project2
|
|
|
|
|
2015-05-18 20:27:02 +00:00
|
|
|
steps:
|
2015-05-19 20:48:20 +00:00
|
|
|
- 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
|
2015-05-19 20:48:20 +00:00
|
|
|
- cmd: echo 1 > 1.txt
|
2015-05-21 21:09:16 +00:00
|
|
|
# - cmd: sleep 4
|
2015-05-19 20:48:20 +00:00
|
|
|
- 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..30}; do
|
|
|
|
echo "tick $i";
|
|
|
|
sleep 0.3;
|
|
|
|
done;
|