nci/projects/project1/config.json
2015-05-07 22:03:57 +03:00

16 lines
445 B
JSON

{
"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"}
]
}