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:
|
|
|
|
- success
|
|
|
|
- fail
|
|
|
|
to:
|
|
|
|
console:
|
|
|
|
# email:
|
|
|
|
# - oleg.korobenko@gmail.com
|
|
|
|
# jabber:
|
|
|
|
# - oleg.korobenko@gmail.com
|
|
|
|
|
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
|