Slide 12
Slide 12 text
© DMM.comラボ
11
タスクが正常終了すると、
JSONが返却
コマンドの exit-status = 0
1秒毎に取得
コマンド実行
{
"id": "4",
"fullName": "+test+step1",
"parentId": "3",
"config": {
"sh>": "sleep 3
},
"upstreams": [],
"state": "success",
"exportParams": {},
"storeParams": {},
"stateParams": {},
"updatedAt": "2018-01-30T08:12:02Z",
"retryAt": null,
"startedAt": "2018-01-30T08:11:52Z",
"isGroup": false
}
mog polling status --interval 1 \
--project sample \
--workflow test \
--session daily \
+test+step1
INFO[0003] task `+test+step1` state is running
INFO[0003] state is not success. waiting 1 sec for retry...
INFO[0006] task `+test+step1` state is running
INFO[0006] state is not success. waiting 1 sec for retry...
INFO[0009] task `+test+step1` state is running
INFO[0009] state is not success. waiting 1 sec for retry...
$