Step | Arguments | | | Status |
---|
Start of Pipeline - (14 sec in block) | | | | |
Print Message - (22 ms in self) | tc397_ota | |  | |
Print Message - (22 ms in self) | GitlabPush | |  | |
Print Message - (0.72 sec in self) | v3.0 | |  | |
Allocate node : Start - (14 sec in block) | built-in | |  | |
Allocate node : Body : Start - (13 sec in block) | | | | |
Stage : Start - (0.72 sec in block) | Declarative: Checkout SCM | |  | |
Declarative: Checkout SCM - (0.67 sec in block) | | | | |
Check out from version control - (0.64 sec in self) | | |  | |
Set environment variables : Start - (13 sec in block) | GIT_BRANCH, GIT_COMMIT, GIT_PREVIOUS_COMMIT, GIT_PREVIOUS_SUCCESSFUL_COMMIT, GIT_URL | |  | |
Set environment variables : Body : Start - (13 sec in block) | | | | |
Set environment variables : Start - (13 sec in block) | commitPath, commitFileName, commitPathTmp, _time, verPath, workHome | |  | |
Set environment variables : Body : Start - (12 sec in block) | | | | |
Stage : Start - (4.3 sec in block) | checkout | |  | |
checkout - (4.2 sec in block) | | | | |
Run arbitrary Pipeline script : Start - (4.2 sec in block) | | |  | |
Run arbitrary Pipeline script : Body : Start - (4.1 sec in block) | | | | |
Print Message - (34 ms in self) | v3.0 | |  | |
Color ANSI Console Output : Start - (0.11 sec in block) | xterm | |  | |
Color ANSI Console Output : Body : Start - (50 ms in block) | | |  | |
Print Message - (11 ms in self) | [1;32m >>>>>>>>>>拉取tc397_ota>>>>>>>>>> [m | |  | |
Shell Script - (0.31 sec in self) | rm -rf /root/workspace/tc397_ota/* && mkdir /root/workspace/tc397_ota/tc397_ota/ | |  | |
Change current directory : Start - (3.3 sec in block) | /root/workspace/tc397_ota/tc397_ota/ | |  | |
Change current directory : Body : Start - (3.3 sec in block) | | | | |
Check out from version control - (3.2 sec in self) | | |  | |
Shell Script - (0.29 sec in self) | rm -rf /root/workspace/tc397_ota@tmp | |  | |
Stage : Start - (7.7 sec in block) | zip->post | |  | |
zip->post - (7.7 sec in block) | | | | |
Run arbitrary Pipeline script : Start - (7.6 sec in block) | | |  | |
Run arbitrary Pipeline script : Body : Start - (7.6 sec in block) | | | | |
Color ANSI Console Output : Start - (99 ms in block) | xterm | |  | |
Color ANSI Console Output : Body : Start - (39 ms in block) | | |  | |
Print Message - (9 ms in self) | [1;32m >>>>>>>>>>压缩成zip包>>>>>>>>>> [m | |  | |
Read JSON from files in the workspace. - (41 ms in self) | /root/commtest/project/project-tc397_ota.json | |  | |
Bind credentials to variables : Start - (0.21 sec in block) | | |  | |
Bind credentials to variables : Body : Start - (0.11 sec in block) | | | | |
Perform an HTTP Request and return a response object - (96 ms in self) | | |  | |
Read JSON from files in the workspace. - (33 ms in self) | | |  | |
Print Message - (19 ms in self) | hardware/tc397_ota | |  | |
Print Message - (29 ms in self) | 606 | |  | |
Print Message - (29 ms in self) | 606 | |  | |
Change current directory : Start - (5.7 sec in block) | /root/workspace/tc397_ota/ | |  | |
Change current directory : Body : Start - (5.6 sec in block) | | | | |
Change current directory : Start - (1.8 sec in block) | /root/workspace/tc397_ota/tc397_ota/ | |  | |
Change current directory : Body : Start - (1.8 sec in block) | | | | |
Shell Script - (0.3 sec in self) | echo -n '{"module":[' > /root/workspace/tc397_ota/version.json | |  | |
Shell Script - (0.3 sec in self) | git rev-parse --short HEAD | |  | |
Shell Script - (0.55 sec in self) | python3 /root/weilk/project/get_git_now.py 606 22992ff | |  | |
Print Message - (18 ms in self) | "device":1,"device_name":"none","type":1,"project":"0" | |  | |
Shell Script - (0.31 sec in self) | echo -n '{"repo_name":"tc397_ota","branch":"v3.0","port":"hairun","time":"2024-11-06_14-07-11","commit_id":"22992ff","version":"","commit_msgs":",ICB2My4wIFRDMzk3ICDkv67lpI3kvKDova7pgJ9idWcgIDEuIOiwg+aVtDQwMDAwMeWSjDQwMDAwMuS4unJlY292ZXLmqKHlvI/jgIIyLuS8mOWMlumUmeivr+eggeebuOWFs+S7o+eggeOAgjMu5bCG6L2u6YCf5byC5bi46LCD5pW05Li6cmVjb3ZlcuaooeW8j+OAgjQu5bCG5YaX5L2Z6Kem5Y+R5Y2V5YiX5Li65LiA5Liq6ZSZ6K+v5LiK5oql44CCNS7pm7bkuIDpm4bljaHvvIzph4znqIvkvb/nlKjkuK3lpK7nvZHlhbPmlbDmja7jgII2LiBRMei9puWeiywg5aaC5p6c55Sx5LqO5Lq66Lip5rK56Zeo5a+86Ie055qEVEMzOTfkuLvliqjliLbliqjvvIzliJnmuIXpm7blj43ppojnmoTmia3nn6njgII3LiDlm73llJDmlaPotKfovabvvIznga/lhYnlj43ppohO44CBUOaho+aDheWGteS4i+i3n+maj+S4iuS4gOasoeeahETmiJbogIVS5qGj55qE54q25oCB5Y+N6aaILg==,"}],"device":1,"device_name":"none","type":1,"project":"0"}' >> /root/workspace/tc397_ota/version.json | |  | |
Shell Script - (0.29 sec in self) | cat /root/workspace/tc397_ota/version.json | |  | |
Shell Script - (0.31 sec in self) | cp -r tc397_ota/ tc397_ota_2024-11-06_14-07-16 | |  | |
Shell Script - (0.31 sec in self) | rm -rf tc397_ota_2024-11-06_14-07-16/.git/ | |  | |
Shell Script - (0.3 sec in self) | zip -rq tc397_ota_2024-11-06_14-07-16.zip ./tc397_ota_2024-11-06_14-07-16/ ./version.json | |  | |
Shell Script - (0.31 sec in self) | ls /root/workspace/tc397_ota/ | |  | |
Shell Script - (0.79 sec in self) | curl -X POST 'http://143.64.91.51:18081/prod-api/otaUploadFileAndVersion' --form 'Content-Type="multipart/form-data"' --form 'file=@"/root/workspace/tc397_ota/tc397_ota_2024-11-06_14-07-16.zip"' --form 'version=@"/root/workspace/tc397_ota/version.json"'
| |  | |
Print Message - (20 ms in self) | {"msg":"操作成功","code":200,"data":""} | |  | |
Read JSON from files in the workspace. - (32 ms in self) | | |  | |
Print Message - (14 ms in self) | [msg:操作成功, code:200, data:] | |  | |
Print Message - (13 ms in self) | status:200 | |  | |
Print Message - (25 ms in self) | {"msg":"操作成功","code":200,"data":""} | |  | |
Shell Script - (0.55 sec in self) | curl -X POST 'http://127.0.0.1:8090/otaUploadFileAndVersion' --form 'Content-Type="multipart/form-data"' --form 'file=@"/root/workspace/tc397_ota/tc397_ota_2024-11-06_14-07-16.zip"' --form 'version=@"/root/workspace/tc397_ota/version.json"'
| |  | |
Print Message - (15 ms in self) | {"msg":"操作成功","code":200,"data":""} | |  | |
Read JSON from files in the workspace. - (33 ms in self) | | |  | |
Print Message - (17 ms in self) | [msg:操作成功, code:200, data:] | |  | |
Print Message - (24 ms in self) | status:200 | |  | |
Print Message - (41 ms in self) | {"msg":"操作成功","code":200,"data":""} | |  | |
Shell Script - (0.86 sec in self) | curl -X POST 'http://159.27.225.200:6201/ota-api/otaUploadFileAndVersion' --form 'Content-Type="multipart/form-data"' --form 'file=@"/root/workspace/tc397_ota/tc397_ota_2024-11-06_14-07-16.zip"' --form 'version=@"/root/workspace/tc397_ota/version.json"'
| |  | |
Print Message - (16 ms in self) | {"msg":"操作成功","code":200,"data":""} | |  | |
Read JSON from files in the workspace. - (34 ms in self) | | |  | |
Print Message - (13 ms in self) | [msg:操作成功, code:200, data:] | |  | |
Print Message - (13 ms in self) | status:200 | |  | |
Print Message - (9 ms in self) | {"msg":"操作成功","code":200,"data":""} | |  | |
Change current directory : Start - (0.77 sec in block) | /root/workspace/tc397_ota/tc397_ota/ | |  | |
Change current directory : Body : Start - (0.71 sec in block) | | | | |
Shell Script - (0.3 sec in self) | git rev-parse --short HEAD | |  | |
Read JSON from files in the workspace. - (42 ms in self) | /root/commtest/project/project-tc397_ota.json | |  | |
Print Message - (16 ms in self) | {"project":{"tc397_ota":"hardware/tc397_ota"},"commit":{"tc397_ota":"66f06f0"}} | |  | |
Shell Script - (0.32 sec in self) | echo '{"project":{"tc397_ota":"hardware/tc397_ota"},"commit":{"tc397_ota":"22992ff"}}' > /root/commtest/project/project-tc397_ota.json | |  | |
Shell Script - (0.31 sec in self) | rm -rf /root/workspace/tc397_ota/*@tmp | |  | |
Shell Script - (0.29 sec in self) | rm -rf /root/workspace/tc397_ota@tmp | |  | |
Stage : Start - (0.8 sec in block) | Declarative: Post Actions | |  | |
Declarative: Post Actions - (0.76 sec in block) | | | | |
Run arbitrary Pipeline script : Start - (0.11 sec in block) | | |  | |
Run arbitrary Pipeline script : Body : Start - (38 ms in block) | | | | |
Print Message - (10 ms in self) | always | |  | |
Run arbitrary Pipeline script : Start - (0.61 sec in block) | | |  | |
Run arbitrary Pipeline script : Body : Start - (0.57 sec in block) | | | | |
Print Message - (28 ms in self) | success | |  | |
Set jenkins user build variables : Start - (0.49 sec in block) | | |  | |
General Build Wrapper : Body : Start - (0.43 sec in block) | | | | |
Run arbitrary Pipeline script : Start - (98 ms in block) | | |  | |
Run arbitrary Pipeline script : Body : Start - (38 ms in block) | | | | |
Print Message - (10 ms in self) | user: , telphone: | |  | |
Shell Script - (0.3 sec in self) | curl -X POST 'https://oapi.dingtalk.com/robot/send?access_token=c4e318472bbd19d0449efb4060de213f730dc32b4bf44819381a8fa7adf61983' -H 'Content-Type: application/json' -d '{"msgtype": "markdown","markdown": {"title":"jenkins通知","text": "# 版本上传通知
### [tc397更新]
---
- 版本名:tc397_ota_2024-11-06_14-07-16
- 详细信息:v3.0
- 状态:<font color=#01B468> 上传成功 </font>
- 执行人:auto
---
> 请ota发布同学尽快发布验证,并在群里同步发布信息~@"},"at": {"atMobiles": [""],"isAtAll": "false"} }'
| |  | |
Print Message - (9 ms in self) | {"errcode":0,"errmsg":"ok"} | |  | |