{ "name": "project1", "scm": { "type": "mercurial", "repository": "./test/repos/mercurial", "rev": "default" }, "steps": [ {"type": "shell", "cmd": "sleep 2 && echo \"hello, cur dir is `pwd`\""}, {"type": "shell", "name": "sleep", "cmd": "sleep 4"}, {"type": "shell", "cmd": "echo 1 > 1.txt"}, {"type": "shell", "cmd": "sleep 4"}, {"type": "shell", "cmd": "echo 2 > 2.txt"}, {"type": "shell", "cmd": "cat 1.txt 2.txt"} ] }