Step | Arguments | | | Status |
---|
Start of Pipeline - (14 sec in block) | | | | |
Print Message - (20 ms in self) | null | |  | |
Print Message - (0.33 sec in self) | null | |  | |
Allocate node : Start - (14 sec in block) | built-in | |  | |
Allocate node : Body : Start - (14 sec in block) | | | | |
Stage : Start - (0.73 sec in block) | Declarative: Checkout SCM | |  | |
Declarative: Checkout SCM - (0.4 sec in block) | | | | |
Check out from version control - (0.38 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 - (13 sec in block) | | | | |
Stage : Start - (2 sec in block) | checkout | |  | |
checkout - (1.6 sec in block) | | | | |
Run arbitrary Pipeline script : Start - (1.4 sec in block) | | |  | |
Run arbitrary Pipeline script : Body : Start - (1 sec in block) | | | | |
Print Message - (24 ms in self) | dev | |  | |
Color ANSI Console Output : Start - (87 ms in block) | xterm | |  | |
Color ANSI Console Output : Body : Start - (41 ms in block) | | |  | |
Print Message - (9 ms in self) | [1;32m >>>>>>>>>>拉取ota_python_scripts>>>>>>>>>> [m | |  | |
Shell Script - (0.35 sec in self) | rm -rf /root/workspace/python-scripts/* | |  | |
Change current directory : Start - (0.27 sec in block) | /root/workspace/python-scripts/ | |  | |
Change current directory : Body : Start - (0.21 sec in block) | | | | |
Check out from version control - (0.13 sec in self) | | |  | |
Shell Script - (0.31 sec in self) | rm -rf /root/workspace/python-scripts@tmp | |  | |
Stage : Start - (10 sec in block) | zip->post | |  | |
zip->post - (10 sec in block) | | | | |
Run arbitrary Pipeline script : Start - (10 sec in block) | | |  | |
Run arbitrary Pipeline script : Body : Start - (10 sec in block) | | | | |
Color ANSI Console Output : Start - (0.11 sec in block) | xterm | |  | |
Color ANSI Console Output : Body : Start - (55 ms in block) | | |  | |
Print Message - (15 ms in self) | [1;32m >>>>>>>>>>压缩成zip包>>>>>>>>>> [m | |  | |
Read JSON from files in the workspace. - (34 ms in self) | /root/commtest/project/project-python-scripts.json | |  | |
Bind credentials to variables : Start - (0.26 sec in block) | | |  | |
Bind credentials to variables : Body : Start - (0.19 sec in block) | | | | |
Perform an HTTP Request and return a response object - (0.17 sec in self) | | |  | |
Read JSON from files in the workspace. - (31 ms in self) | | |  | |
Print Message - (11 ms in self) | lufengwei/ota_pyhon_scripts | |  | |
Print Message - (13 ms in self) | 581 | |  | |
Print Message - (23 ms in self) | 581 | |  | |
Change current directory : Start - (8.6 sec in block) | /root/workspace/python-scripts/ | |  | |
Change current directory : Body : Start - (8.6 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 425f017 | |  | |
Print Message - (13 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":"2024-05-17_17-19-03","commit_id":"425f017","version":"","commit_msgs":",5L+u5aSN5Y+C5pWw6KGl5LiBYnVn,"}],"device":"9","device_name":"","type":0,"project":"0"}' >> /root/workspace/python-scripts/version.json | |  | |
Shell Script - (0.27 sec in self) | cat /root/workspace/python-scripts/version.json | |  | |
Shell Script - (0.34 sec in self) | zip -rq ota_py_2024-05-17_17-19-06.zip ota.py version.json | |  | |
Shell Script - (0.55 sec in self) | ls /root/workspace/python-scripts/ | |  | |
Shell Script - (3.7 sec in self) | curl -x socks5h://143.64.33.124:18118 -X POST 'http://10.200.3.20:8081/prod-api/otaUploadFileAndVersion' --form 'Content-Type="multipart/form-data"' --form 'file=@"/root/workspace/python-scripts/ota_py_2024-05-17_17-19-06.zip"' --form 'version=@"/root/workspace/python-scripts/version.json"'
| |  | |
Print Message - (26 ms in self) | {"msg":"操作成功","code":200,"data":""} | |  | |
Print Message - (22 ms in self) | {"msg":"操作成功","code":200,"data":""} | |  | |
Read JSON from files in the workspace. - (26 ms in self) | | |  | |
Print Message - (11 ms in self) | [msg:操作成功, code:200, data:] | |  | |
Print Message - (21 ms in self) | status:200 | |  | |
Shell Script - (0.27 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_2024-05-17_17-19-06.zip"' --form 'version=@"/root/workspace/python-scripts/version.json"'
| |  | |
Print Message - (16 ms in self) | {"msg":"操作成功","code":200,"data":""} | |  | |
Print Message - (12 ms in self) | {"msg":"操作成功","code":200,"data":""} | |  | |
Read JSON from files in the workspace. - (19 ms in self) | | |  | |
Print Message - (12 ms in self) | [msg:操作成功, code:200, data:] | |  | |
Print Message - (19 ms in self) | status:200 | |  | |
Shell Script - (0.27 sec in self) | curl -X POST 'http://172.18.5.234/ota-api/otaUploadFileAndVersion' --form 'Content-Type="multipart/form-data"' --form 'file=@"/root/workspace/python-scripts/ota_py_2024-05-17_17-19-06.zip"' --form 'version=@"/root/workspace/python-scripts/version.json"'
| |  | |
Print Message - (13 ms in self) | {"msg":"操作成功","code":200,"data":""} | |  | |
Read JSON from files in the workspace. - (17 ms in self) | | |  | |
Print Message - (15 ms in self) | [msg:操作成功, code:200, data:] | |  | |
Print Message - (12 ms in self) | status:200 | |  | |
Print Message - (20 ms in self) | {"msg":"操作成功","code":200,"data":""} | |  | |
Shell Script - (1.6 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/python-scripts/ota_py_2024-05-17_17-19-06.zip"' --form 'version=@"/root/workspace/python-scripts/version.json"'
| |  | |
Print Message - (13 ms in self) | {"msg":"操作成功","code":200,"data":""} | |  | |
Read JSON from files in the workspace. - (29 ms in self) | | |  | |
Print Message - (12 ms in self) | [msg:操作成功, code:200, data:] | |  | |
Print Message - (12 ms in self) | status:200 | |  | |
Print Message - (8 ms in self) | {"msg":"操作成功","code":200,"data":""} | |  | |
Change current directory : Start - (0.65 sec in block) | /root/workspace/python-scripts/ | |  | |
Change current directory : Body : Start - (0.61 sec in block) | | | | |
Shell Script - (0.27 sec in self) | git rev-parse --short HEAD | |  | |
Read JSON from files in the workspace. - (28 ms in self) | /root/commtest/project/project-python-scripts.json | |  | |
Print Message - (13 ms in self) | {"project":{"ota_pyhon_scripts":"lufengwei/ota_pyhon_scripts"},"commit":{"ota_pyhon_scripts":"425f017"}} | |  | |
Shell Script - (0.27 sec in self) | echo '{"project":{"ota_pyhon_scripts":"lufengwei/ota_pyhon_scripts"},"commit":{"ota_pyhon_scripts":"425f017"}}' > /root/commtest/project/project-python-scripts.json | |  | |
Shell Script - (0.27 sec in self) | rm -rf /root/workspace/python-scripts@tmp | |  | |
Stage : Start - (0.66 sec in block) | Declarative: Post Actions | |  | |
Declarative: Post Actions - (0.63 sec in block) | | | | |
Run arbitrary Pipeline script : Start - (77 ms in block) | | |  | |
Run arbitrary Pipeline script : Body : Start - (32 ms in block) | | | | |
Print Message - (8 ms in self) | always | |  | |
Run arbitrary Pipeline script : Start - (0.51 sec in block) | | |  | |
Run arbitrary Pipeline script : Body : Start - (0.48 sec in block) | | | | |
Print Message - (17 ms in self) | success | |  | |
Set jenkins user build variables : Start - (0.43 sec in block) | | |  | |
General Build Wrapper : Body : Start - (0.38 sec in block) | | | | |
Run arbitrary Pipeline script : Start - (89 ms in block) | | |  | |
Run arbitrary Pipeline script : Body : Start - (44 ms in block) | | | | |
Print Message - (13 ms in self) | user: , telphone: null | |  | |
Print Message - (9 ms in self) | 用户不存在列表中 | |  | |
Shell Script - (0.27 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": "# 版本上传通知
### [ota.py脚本更新]
---
- 版本名:ota_py_2024-05-17_17-19-06
- 详细信息:dev
- 状态:<font color=#01B468> 上传成功 </font>
- 执行人:weilikang
---
> 请ota发布同学尽快发布验证,并在群里同步发布信息~ "},"at": {"atMobiles": [""],"isAtAll": "false"} }'
| |  | |
Print Message - (8 ms in self) | {"errcode":0,"errmsg":"ok"} | |  | |