nci/data/projects/project1/config.yaml

38 lines
694 B
YAML
Raw Normal View History

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:
- 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