Step | Arguments | | | Status |
---|
Start of Pipeline - (39 sec in block) | | | | |
Print Message - (14 ms in self) | null | |  | |
Print Message - (0.12 sec in self) | null | |  | |
Allocate node : Start - (39 sec in block) | built-in | |  | |
Allocate node : Body : Start - (39 sec in block) | | | | |
Stage : Start - (0.33 sec in block) | Declarative: Checkout SCM | |  | |
Declarative: Checkout SCM - (0.28 sec in block) | | | | |
Check out from version control - (0.26 sec in self) | | |  | |
Set environment variables : Start - (38 sec in block) | GIT_BRANCH, GIT_COMMIT, GIT_PREVIOUS_COMMIT, GIT_PREVIOUS_SUCCESSFUL_COMMIT, GIT_URL | |  | |
Set environment variables : Body : Start - (38 sec in block) | | | | |
Set environment variables : Start - (38 sec in block) | commitPath, commitFileName, commitPathTmp, _time, verPath, workHome | |  | |
Set environment variables : Body : Start - (38 sec in block) | | | | |
Stage : Start - (0.96 sec in block) | checkout | |  | |
checkout - (0.91 sec in block) | | | | |
Run arbitrary Pipeline script : Start - (0.87 sec in block) | | |  | |
Run arbitrary Pipeline script : Body : Start - (0.83 sec in block) | | | | |
Print Message - (22 ms in self) | dev | |  | |
Color ANSI Console Output : Start - (90 ms in block) | xterm | |  | |
Color ANSI Console Output : Body : Start - (38 ms in block) | | |  | |
Print Message - (8 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.14 sec in block) | /root/workspace/python-scripts/ | |  | |
Change current directory : Body : Start - (0.1 sec in block) | | | | |
Check out from version control - (77 ms in self) | | |  | |
Shell Script - (0.27 sec in self) | rm -rf /root/workspace/python-scripts@tmp | |  | |
Stage : Start - (37 sec in block) | zip->post | |  | |
zip->post - (37 sec in block) | | | | |
Run arbitrary Pipeline script : Start - (37 sec in block) | | |  | |
Run arbitrary Pipeline script : Body : Start - (37 sec in block) | | | | |
Color ANSI Console Output : Start - (0.11 sec in block) | xterm | |  | |
Color ANSI Console Output : Body : Start - (56 ms in block) | | |  | |
Print Message - (17 ms in self) | [1;32m >>>>>>>>>>压缩成zip包>>>>>>>>>> [m | |  | |
Read JSON from files in the workspace. - (31 ms in self) | /root/commtest/project/project-python-scripts.json | |  | |
Bind credentials to variables : Start - (0.15 sec in block) | | |  | |
Bind credentials to variables : Body : Start - (93 ms in block) | | | | |
Perform an HTTP Request and return a response object - (78 ms in self) | | |  | |
Read JSON from files in the workspace. - (26 ms in self) | | |  | |
Print Message - (20 ms in self) | lufengwei/ota_pyhon_scripts | |  | |
Print Message - (19 ms in self) | 581 | |  | |
Print Message - (21 ms in self) | 581 | |  | |
Change current directory : Start - (36 sec in block) | /root/workspace/python-scripts/ | |  | |
Change current directory : Body : Start - (36 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.28 sec in self) | python3 /root/weilk/project/get_git_now.py 581 ff1e0bc | |  | |
Print Message - (23 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-11-08_21-01-18","commit_id":"ff1e0bc","version":"","commit_msgs":",5bCG5Y+C5pWw6KGl5LiB55qEZXh0cmluc2ljc+S4i+aWh+S7tuaUueS4uuWQjOWQjeabv+aNog==,"}],"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.27 sec in self) | zip -rq ota_py_2024-11-08_21-01-19.zip ota.py version.json | |  | |
Shell Script - (0.27 sec in self) | ls /root/workspace/python-scripts/ | |  | |
Shell Script - (0.52 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-11-08_21-01-19.zip"' --form 'version=@"/root/workspace/python-scripts/version.json"'
| |  | |
Print Message - (12 ms in self) | {"msg":"操作成功","code":200,"data":""} | |  | |
Print Message - (13 ms in self) | {"msg":"操作成功","code":200,"data":""} | |  | |
Read JSON from files in the workspace. - (18 ms in self) | | |  | |
Print Message - (13 ms in self) | [msg:操作成功, code:200, data:] | |  | |
Print Message - (20 ms in self) | status:200 | |  | |
Shell Script - (34 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-11-08_21-01-19.zip"' --form 'version=@"/root/workspace/python-scripts/version.json"'
| |  | |
Stage : Start - (0.15 sec in block) | Declarative: Post Actions | |  | |
Declarative: Post Actions - (0.12 sec in block) | | | | |
Run arbitrary Pipeline script : Start - (82 ms in block) | | |  | |
Run arbitrary Pipeline script : Body : Start - (45 ms in block) | | | | |
Print Message - (17 ms in self) | always | |  | |