nci/data/projects/project1/config.yaml
2015-07-12 11:39:22 +03:00

57 lines
1.0 KiB
YAML

scm:
type: mercurial
repository: ./test/repos/mercurial
rev: default
catchRev:
comment: !!js/regexp //
# buildEvery:
# time: "*/5 * * * * *"
# withScmChangesOnly: true
notify:
on:
# - done
# - error
- change
to:
console:
# mail:
# - oleg.korobenko@gmail.com
# - oleg.poligon@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..10}; do
echo "tick $i";
sleep 0.3;
done;