nci/projects/project1/config.json

16 lines
417 B
JSON

{
"name": "project1",
"scm": {
"type": "mercurial",
"repository": "./test/repos/mercurial",
"rev": "default"
},
"steps": [
{"type": "shell", "cmd": "echo \"hello, cur dir is `pwd`\""},
{"type": "shell", "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"}
]
}