mirror of
https://gitlab.silvrtree.co.uk/martind2000/nci.git
synced 2025-01-12 14:45:07 +00:00
49 lines
894 B
YAML
49 lines
894 B
YAML
|
|
scm:
|
|
type: mercurial
|
|
repository: ./test/repos/mercurial
|
|
rev: default
|
|
|
|
notify:
|
|
on:
|
|
# - success
|
|
# - fail
|
|
- 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;
|