Step | Arguments | | | Status |
---|
Start of Pipeline - (2 min 21 sec in block) | | | | |
Print Message - (16 ms in self) | tc397_ota | |  | |
Print Message - (16 ms in self) | GitlabPush | |  | |
Print Message - (0.27 sec in self) | v3.0 | |  | |
Allocate node : Start - (2 min 20 sec in block) | built-in | |  | |
Allocate node : Body : Start - (2 min 20 sec in block) | | | | |
Stage : Start - (0.63 sec in block) | Declarative: Checkout SCM | |  | |
Declarative: Checkout SCM - (0.56 sec in block) | | | | |
Check out from version control - (0.53 sec in self) | | |  | |
Set environment variables : Start - (2 min 19 sec in block) | GIT_BRANCH, GIT_COMMIT, GIT_PREVIOUS_COMMIT, GIT_PREVIOUS_SUCCESSFUL_COMMIT, GIT_URL | |  | |
Set environment variables : Body : Start - (2 min 19 sec in block) | | | | |
Set environment variables : Start - (2 min 19 sec in block) | commitPath, commitFileName, commitPathTmp, _time, verPath, workHome | |  | |
Set environment variables : Body : Start - (2 min 19 sec in block) | | | | |
Stage : Start - (2.9 sec in block) | checkout | |  | |
checkout - (2.8 sec in block) | | | | |
Run arbitrary Pipeline script : Start - (2.8 sec in block) | | |  | |
Run arbitrary Pipeline script : Body : Start - (2.7 sec in block) | | | | |
Print Message - (28 ms in self) | v3.0 | |  | |
Color ANSI Console Output : Start - (0.11 sec in block) | xterm | |  | |
Color ANSI Console Output : Body : Start - (40 ms in block) | | |  | |
Print Message - (10 ms in self) | [1;32m >>>>>>>>>>拉取tc397_ota>>>>>>>>>> [m | |  | |
Shell Script - (0.28 sec in self) | rm -rf /root/workspace/tc397_ota/* && mkdir /root/workspace/tc397_ota/tc397_ota/ | |  | |
Change current directory : Start - (2 sec in block) | /root/workspace/tc397_ota/tc397_ota/ | |  | |
Change current directory : Body : Start - (1.9 sec in block) | | | | |
Check out from version control - (1.9 sec in self) | | |  | |
Shell Script - (0.27 sec in self) | rm -rf /root/workspace/tc397_ota@tmp | |  | |
Stage : Start - (2 min 16 sec in block) | zip->post | |  | |
zip->post - (2 min 15 sec in block) | | | | |
Run arbitrary Pipeline script : Start - (2 min 15 sec in block) | | |  | |
Run arbitrary Pipeline script : Body : Start - (2 min 15 sec in block) | | | | |
Color ANSI Console Output : Start - (0.1 sec in block) | xterm | |  | |
Color ANSI Console Output : Body : Start - (43 ms in block) | | |  | |
Print Message - (11 ms in self) | [1;32m >>>>>>>>>>压缩成zip包>>>>>>>>>> [m | |  | |
Read JSON from files in the workspace. - (35 ms in self) | /root/commtest/project/project-tc397_ota.json | |  | |
Bind credentials to variables : Start - (0.19 sec in block) | | |  | |
Bind credentials to variables : Body : Start - (0.12 sec in block) | | | | |
Perform an HTTP Request and return a response object - (0.1 sec in self) | | |  | |
Read JSON from files in the workspace. - (28 ms in self) | | |  | |
Print Message - (23 ms in self) | hardware/tc397_ota | |  | |
Print Message - (15 ms in self) | 606 | |  | |
Print Message - (28 ms in self) | 606 | |  | |
Change current directory : Start - (2 min 15 sec in block) | /root/workspace/tc397_ota/ | |  | |
Change current directory : Body : Start - (2 min 15 sec in block) | | | | |
Change current directory : Start - (1.4 sec in block) | /root/workspace/tc397_ota/tc397_ota/ | |  | |
Change current directory : Body : Start - (1.4 sec in block) | | | | |
Shell Script - (0.28 sec in self) | echo -n '{"module":[' > /root/workspace/tc397_ota/version.json | |  | |
Shell Script - (0.27 sec in self) | git rev-parse --short HEAD | |  | |
Shell Script - (0.28 sec in self) | python3 /root/weilk/project/get_git_now.py 606 6655f26 | |  | |
Print Message - (15 ms in self) | "device":1,"device_name":"none","type":1,"project":"0" | |  | |
Shell Script - (0.27 sec in self) | echo -n '{"repo_name":"tc397_ota","branch":"v3.0","port":"hairun","time":"2025-07-03_11-01-31","commit_id":"6655f26","version":"","commit_msgs":",IDEuIOS/ruWkjeiDjuWOi+W8guW4uOWvvOiHtOeahOW0qea6g++8jDIuIOWQieWIqXg3ZeWcqHhicl9zeXN0ZW1fc3RhdHVzPT0y5pe25omN5oqlZWJz6ZSZ6K+v44CCMy4g5L+u5aSN5ZCJ5Yip6I635Y+W6IOO5Y6L5byC5bi46Zeu6aKYLg==,"}],"device":1,"device_name":"none","type":1,"project":"0"}' >> /root/workspace/tc397_ota/version.json | |  | |
Shell Script - (0.27 sec in self) | cat /root/workspace/tc397_ota/version.json | |  | |
Shell Script - (0.27 sec in self) | cp -r tc397_ota/ tc397_ota_2025-07-03_11-01-34 | |  | |
Shell Script - (0.28 sec in self) | rm -rf tc397_ota_2025-07-03_11-01-34/.git/ | |  | |
Shell Script - (0.28 sec in self) | zip -rq tc397_ota_2025-07-03_11-01-34.zip ./tc397_ota_2025-07-03_11-01-34/ ./version.json | |  | |
Shell Script - (0.28 sec in self) | ls /root/workspace/tc397_ota/ | |  | |
Shell Script - (0.83 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_2025-07-03_11-01-34.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. - (25 ms in self) | | |  | |
Print Message - (31 ms in self) | [msg:操作成功, code:200, data:] | |  | |
Print Message - (16 ms in self) | status:200 | |  | |
Print Message - (25 ms in self) | {"msg":"操作成功","code":200,"data":""} | |  | |
Shell Script - (0.27 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_2025-07-03_11-01-34.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. - (25 ms in self) | | |  | |
Print Message - (20 ms in self) | [msg:操作成功, code:200, data:] | |  | |
Print Message - (15 ms in self) | status:200 | |  | |
Print Message - (26 ms in self) | {"msg":"操作成功","code":200,"data":""} | |  | |
Shell Script - (1.2 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_2025-07-03_11-01-34.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. - (20 ms in self) | | |  | |
Print Message - (16 ms in self) | [msg:操作成功, code:200, data:] | |  | |
Print Message - (13 ms in self) | status:200 | |  | |
Print Message - (35 ms in self) | {"msg":"操作成功","code":200,"data":""} | |  | |
Shell Script - (2 min 9 sec in self) | curl -X POST 'http://172.18.5.234/ota-api/otaUploadFileAndVersion' --form 'Content-Type="multipart/form-data"' --form 'file=@"/root/workspace/tc397_ota/tc397_ota_2025-07-03_11-01-34.zip"' --form 'version=@"/root/workspace/tc397_ota/version.json"'
| |  | |
Stage : Start - (0.8 sec in block) | Declarative: Post Actions | |  | |
Declarative: Post Actions - (0.75 sec in block) | | | | |
Run arbitrary Pipeline script : Start - (0.12 sec in block) | | |  | |
Run arbitrary Pipeline script : Body : Start - (62 ms in block) | | | | |
Print Message - (20 ms in self) | always | |  | |
Run arbitrary Pipeline script : Start - (0.57 sec in block) | | |  | |
Run arbitrary Pipeline script : Body : Start - (0.54 sec in block) | | | | |
Print Message - (23 ms in self) | failure: zip->post | |  | |
Set jenkins user build variables : Start - (0.47 sec in block) | | |  | |
General Build Wrapper : Body : Start - (0.42 sec in block) | | | | |
Run arbitrary Pipeline script : Start - (98 ms in block) | | |  | |
Run arbitrary Pipeline script : Body : Start - (40 ms in block) | | | | |
Print Message - (10 ms in self) | user: , telphone: | |  | |
Shell Script - (0.29 sec in self) | curl -X POST 'https://oapi.dingtalk.com/robot/send?access_token=0e635ba9c724e48482d5e4146087ccb44e6b324d34f5e351b80db04fcf41017a' -H 'Content-Type: application/json' -d '{"msgtype": "markdown","markdown": {"title":"Jenkins通知","text": "# 版本编译失败
### [tc397更新]
---
- 任务名: [tc397_ota]
- 任务号:# 211
- 阶段:zip->post
- 状态:<font color=#FF5151> 上传失败 </font>
- 执行人:auto
---
> 请检查失败原因 @"},"at": {"atMobiles": [""],"isAtAll": "false"} }'
| |  | |
Print Message - (12 ms in self) | {"errcode":0,"errmsg":"ok"} | |  | |