nci/data/projects/project1/config.yaml
2015-06-23 22:18:13 +03:00

52 lines
935 B
YAML

scm:
type: mercurial
repository: ./test/repos/mercurial
rev: default
# catchRev:
# comment: !!js/regexp //
notify:
on:
# - done
# - error
- change
to:
console:
# email:
# - oleg.korobenko@gmail.com
# jabber:
# - oleg.korobenko@gmail.com
trigger:
after:
- status: done
project: project2
blockedBy:
# - project2
- !!js/regexp /project2|nci/
blocks:
- project2
steps:
- cmd: >
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
# - cmd: sleep 4
- cmd: echo 2 > 2.txt
- cmd: cat 1.txt 2.txt
- shell: /bin/bash
cmd: >
for i in {1..30}; do
echo "tick $i";
sleep 0.3;
done;