| Step | Arguments | | | Status |
|---|
| Start of Pipeline - (2 min 16 sec in block) | | | | |
| Print Message - (14 ms in self) | null | |  | |
| Print Message - (0.22 sec in self) | null | |  | |
| Allocate node : Start - (2 min 15 sec in block) | built-in | |  | |
| Allocate node : Body : Start - (2 min 15 sec in block) | | | | |
| Stage : Start - (0.62 sec in block) | Declarative: Checkout SCM | |  | |
| Declarative: Checkout SCM - (0.57 sec in block) | | | | |
| Check out from version control - (0.54 sec in self) | | |  | |
| Set environment variables : Start - (2 min 15 sec in block) | GIT_BRANCH, GIT_COMMIT, GIT_PREVIOUS_COMMIT, GIT_PREVIOUS_SUCCESSFUL_COMMIT, GIT_URL | |  | |
| Set environment variables : Body : Start - (2 min 15 sec in block) | | | | |
| Set environment variables : Start - (2 min 15 sec in block) | commitPath, commitFileName, commitPathTmp, _time, verPath, workHome | |  | |
| Set environment variables : Body : Start - (2 min 15 sec in block) | | | | |
| Stage : Start - (1.1 sec in block) | checkout | |  | |
| checkout - (1 sec in block) | | | | |
| Run arbitrary Pipeline script : Start - (1 sec in block) | | |  | |
| Run arbitrary Pipeline script : Body : Start - (0.99 sec in block) | | | | |
| Print Message - (26 ms in self) | dev | |  | |
| Color ANSI Console Output : Start - (92 ms in block) | xterm | |  | |
| Color ANSI Console Output : Body : Start - (37 ms in block) | | |  | |
| Print Message - (9 ms in self) | [1;32m >>>>>>>>>>拉取ota_python_scripts>>>>>>>>>> [m | |  | |
| Shell Script - (0.28 sec in self) | rm -rf /root/workspace/python-scripts/* | |  | |
| Change current directory : Start - (0.29 sec in block) | /root/workspace/python-scripts/ | |  | |
| Change current directory : Body : Start - (0.25 sec in block) | | | | |
| Check out from version control - (0.22 sec in self) | | |  | |
| Shell Script - (0.26 sec in self) | rm -rf /root/workspace/python-scripts@tmp | |  | |
| Stage : Start - (2 min 13 sec in block) | zip->post | |  | |
| zip->post - (2 min 13 sec in block) | | | | |
| Run arbitrary Pipeline script : Start - (2 min 13 sec in block) | | |  | |
| Run arbitrary Pipeline script : Body : Start - (2 min 13 sec in block) | | | | |
| Color ANSI Console Output : Start - (90 ms in block) | xterm | |  | |
| Color ANSI Console Output : Body : Start - (36 ms in block) | | |  | |
| Print Message - (7 ms in self) | [1;32m >>>>>>>>>>压缩成zip包>>>>>>>>>> [m | |  | |
| Read JSON from files in the workspace. - (37 ms in self) | /root/commtest/project/project-python-scripts.json | |  | |
| Bind credentials to variables : Start - (0.17 sec in block) | | |  | |
| Bind credentials to variables : Body : Start - (0.11 sec in block) | | | | |
| Perform an HTTP Request and return a response object - (95 ms in self) | | |  | |
| Read JSON from files in the workspace. - (25 ms in self) | | |  | |
| Print Message - (22 ms in self) | lufengwei/ota_pyhon_scripts | |  | |
| Print Message - (13 ms in self) | 581 | |  | |
| Print Message - (22 ms in self) | 581 | |  | |
| Change current directory : Start - (2 min 12 sec in block) | /root/workspace/python-scripts/ | |  | |
| Change current directory : Body : Start - (2 min 12 sec in block) | | | | |
| Change current directory : Start - (1.4 sec in block) | /root/workspace/python-scripts/ | |  | |
| Change current directory : Body : Start - (1.4 sec in block) | | | | |
| Shell Script - (0.27 sec in self) | echo -n '{"module":[' > /root/workspace/python-scripts/version.json | |  | |
| Shell Script - (0.27 sec in self) | git rev-parse --short HEAD | |  | |
| Shell Script - (0.27 sec in self) | python3 /root/weilk/project/get_git_now.py 581 5c4cef5 | |  | |
| Print Message - (14 ms in self) | "device":"9","device_name":"","type":0,"project":"0" | |  | |
| Shell Script - (0.27 sec in self) | echo -n '{"repo_name":"ota_python_scripts","branch":"dev","time":"2025-11-24_16-57-56","commit_id":"5c4cef5","version":"","commit_msgs":",bGlkYXJfcmVnaW9ucy5qc29u5o6o5Yiwb3JpbkE=,"}],"device":"9","device_name":"","type":0,"project":"0"}' >> /root/workspace/python-scripts/version.json | |  | |
| Shell Script - (0.28 sec in self) | cat /root/workspace/python-scripts/version.json | |  | |
| Shell Script - (0.27 sec in self) | zip -rq ota_py_2025-11-24_16-57-58.zip ota.py version.json | |  | |
| Shell Script - (0.27 sec in self) | ls /root/workspace/python-scripts/ | |  | |
| Shell Script - (0.83 sec in self) | curl -X POST 'http://ota.senior.auto/prod-api/otaUploadFileAndVersion' --form 'Content-Type="multipart/form-data"' --form 'file=@"/root/workspace/python-scripts/ota_py_2025-11-24_16-57-58.zip"' --form 'version=@"/root/workspace/python-scripts/version.json"'
| |  | |
| Print Message - (15 ms in self) | {"msg":"操作成功","code":200,"data":""} | |  | |
| Read JSON from files in the workspace. - (22 ms in self) | | |  | |
| Print Message - (14 ms in self) | [msg:操作成功, code:200, data:] | |  | |
| Print Message - (18 ms in self) | status:200 | |  | |
| Print Message - (22 ms in self) | {"msg":"操作成功","code":200,"data":""} | |  | |
| Shell Script - (2 min 9 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/python-scripts/ota_py_2025-11-24_16-57-58.zip"' --form 'version=@"/root/workspace/python-scripts/version.json"'
| |  | |
| Print Message - (16 ms in self) | <html>
<head><title>502 Bad Gateway</title></head>
<body>
<center><h1>502 Bad Gateway</h1></center>
<hr><center>nginx/1.18.0 (Ubuntu)</center>
</body>
</html>
| |  | |
| Read JSON from files in the workspace. - (28 ms in self) | | |  | |
| Stage : Start - (0.65 sec in block) | Declarative: Post Actions | |  | |
| Declarative: Post Actions - (0.61 sec in block) | | | | |
| Run arbitrary Pipeline script : Start - (75 ms in block) | | |  | |
| Run arbitrary Pipeline script : Body : Start - (28 ms in block) | | | | |
| Print Message - (7 ms in self) | always | |  | |
| Run arbitrary Pipeline script : Start - (0.5 sec in block) | | |  | |
| Run arbitrary Pipeline script : Body : Start - (0.46 sec in block) | | | | |
| Print Message - (16 ms in self) | failure: zip->post | |  | |
| Set jenkins user build variables : Start - (0.42 sec in block) | | |  | |
| General Build Wrapper : Body : Start - (0.37 sec in block) | | | | |
| Run arbitrary Pipeline script : Start - (78 ms in block) | | |  | |
| Run arbitrary Pipeline script : Body : Start - (31 ms in block) | | | | |
| Print Message - (8 ms in self) | user: , telphone: | |  | |
| Shell Script - (0.27 sec in self) | curl -X POST 'http://143.64.81.104:8080/robot/send?access_token=0e635ba9c724e48482d5e4146087ccb44e6b324d34f5e351b80db04fcf41017a' -H 'Content-Type: application/json' -d '{"msgtype": "markdown","markdown": {"title":"Jenkins通知","text": "# 版本编译失败
### [ota.py脚本更新]
---
- 任务名: [ota_python_scripts]
- 任务号:# 42
- 阶段:zip->post
- 状态:<font color=#FF5151> 上传失败 </font>
- 执行人:weilikang
---
> 请检查失败原因 @"},"at": {"atMobiles": [""],"isAtAll": "false"} }'
| |  | |
| Print Message - (9 ms in self) | {"errcode":0,"errmsg":"ok"} | |  | |