StepArgumentsStatus
Start of Pipeline - (7.8 sec in block)
Print Message - (13 ms in self)ota_pyhon_scriptsConsole Output
Print Message - (14 ms in self)GitlabPushConsole Output
Print Message - (0.21 sec in self)devConsole Output
Allocate node : Start - (7.5 sec in block)built-inConsole Output
Allocate node : Body : Start - (7.4 sec in block)
Stage : Start - (0.66 sec in block)Declarative: Checkout SCMConsole Output
Declarative: Checkout SCM - (0.61 sec in block)
Check out from version control - (0.56 sec in self)Console Output
Set environment variables : Start - (6.7 sec in block)GIT_BRANCH, GIT_COMMIT, GIT_PREVIOUS_COMMIT, GIT_PREVIOUS_SUCCESSFUL_COMMIT, GIT_URLConsole Output
Set environment variables : Body : Start - (6.7 sec in block)
Set environment variables : Start - (6.6 sec in block)commitPath, commitFileName, commitPathTmp, _time, verPath, workHomeConsole Output
Set environment variables : Body : Start - (6.6 sec in block)
Stage : Start - (1 sec in block)checkoutConsole Output
checkout - (1 sec in block)
Run arbitrary Pipeline script : Start - (0.96 sec in block)Console Output
Run arbitrary Pipeline script : Body : Start - (0.92 sec in block)
Print Message - (23 ms in self)devConsole Output
Color ANSI Console Output : Start - (87 ms in block)xtermConsole Output
Color ANSI Console Output : Body : Start - (36 ms in block)Console Output
Print Message - (9 ms in self) >>>>>>>>>>拉取ota_python_scripts>>>>>>>>>> Console Output
Shell Script - (0.28 sec in self)rm -rf /root/workspace/python-scripts/*Console Output
Change current directory : Start - (0.24 sec in block)/root/workspace/python-scripts/Console Output
Change current directory : Body : Start - (0.19 sec in block)
Check out from version control - (0.17 sec in self)Console Output
Shell Script - (0.26 sec in self)rm -rf /root/workspace/python-scripts@tmpConsole Output
Stage : Start - (4.8 sec in block)zip->postConsole Output
zip->post - (4.7 sec in block)
Run arbitrary Pipeline script : Start - (4.7 sec in block)Console Output
Run arbitrary Pipeline script : Body : Start - (4.7 sec in block)
Color ANSI Console Output : Start - (88 ms in block)xtermConsole Output
Color ANSI Console Output : Body : Start - (37 ms in block)Console Output
Print Message - (10 ms in self) >>>>>>>>>>压缩成zip包>>>>>>>>>> Console Output
Read JSON from files in the workspace. - (32 ms in self)/root/commtest/project/project-python-scripts.jsonConsole Output
Bind credentials to variables : Start - (0.2 sec in block)Console Output
Bind credentials to variables : Body : Start - (0.14 sec in block)
Perform an HTTP Request and return a response object - (0.12 sec in self)Console Output
Read JSON from files in the workspace. - (25 ms in self)Console Output
Print Message - (18 ms in self)lufengwei/ota_pyhon_scriptsConsole Output
Print Message - (14 ms in self)581Console Output
Print Message - (27 ms in self)581Console Output
Change current directory : Start - (3.3 sec in block)/root/workspace/python-scripts/Console Output
Change current directory : Body : Start - (3.2 sec in block)
Change current directory : Start - (1.4 sec in block)/root/workspace/python-scripts/Console Output
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.jsonConsole Output
Shell Script - (0.27 sec in self)git rev-parse --short HEADConsole Output
Shell Script - (0.27 sec in self)python3 /root/weilk/project/get_git_now.py 581 7fe5338Console Output
Print Message - (14 ms in self)"device":"9","device_name":"","type":0,"project":"0"Console Output
Shell Script - (0.27 sec in self)echo -n '{"repo_name":"ota_python_scripts","branch":"dev","time":"2024-12-10_12-33-31","commit_id":"7fe5338","version":"","commit_msgs":",5aKe5Yqg5o6o6YCB5bqT5paH5Lu2,"}],"device":"9","device_name":"","type":0,"project":"0"}' >> /root/workspace/python-scripts/version.jsonConsole Output
Shell Script - (0.27 sec in self)cat /root/workspace/python-scripts/version.jsonConsole Output
Shell Script - (0.27 sec in self)zip -rq ota_py_2024-12-10_12-33-33.zip ota.py version.jsonConsole Output
Shell Script - (0.28 sec in self)ls /root/workspace/python-scripts/Console Output
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-12-10_12-33-33.zip"' --form 'version=@"/root/workspace/python-scripts/version.json"' Console Output
Print Message - (15 ms in self){"msg":"操作成功","code":200,"data":""}Console Output
Print Message - (12 ms in self){"msg":"操作成功","code":200,"data":""}Console Output
Read JSON from files in the workspace. - (28 ms in self)Console Output
Print Message - (17 ms in self)[msg:操作成功, code:200, data:]Console Output
Print Message - (20 ms in self)status:200Console Output
Shell Script - (0.52 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-12-10_12-33-33.zip"' --form 'version=@"/root/workspace/python-scripts/version.json"' Console Output
Print Message - (13 ms in self){"msg":"操作成功","code":200,"data":""}Console Output
Read JSON from files in the workspace. - (19 ms in self)Console Output
Print Message - (13 ms in self)[msg:操作成功, code:200, data:]Console Output
Print Message - (14 ms in self)status:200Console Output
Print Message - (8 ms in self){"msg":"操作成功","code":200,"data":""}Console Output
Change current directory : Start - (0.69 sec in block)/root/workspace/python-scripts/Console Output
Change current directory : Body : Start - (0.64 sec in block)
Shell Script - (0.28 sec in self)git rev-parse --short HEADConsole Output
Read JSON from files in the workspace. - (29 ms in self)/root/commtest/project/project-python-scripts.jsonConsole Output
Print Message - (38 ms in self){"project":{"ota_pyhon_scripts":"lufengwei/ota_pyhon_scripts"},"commit":{"ota_pyhon_scripts":"ff1e0bc"}}Console Output
Shell Script - (0.27 sec in self)echo '{"project":{"ota_pyhon_scripts":"lufengwei/ota_pyhon_scripts"},"commit":{"ota_pyhon_scripts":"7fe5338"}}' > /root/commtest/project/project-python-scripts.jsonConsole Output
Shell Script - (0.27 sec in self)rm -rf /root/workspace/python-scripts@tmpConsole Output
Stage : Start - (0.67 sec in block)Declarative: Post ActionsConsole Output
Declarative: Post Actions - (0.65 sec in block)
Run arbitrary Pipeline script : Start - (99 ms in block)Console Output
Run arbitrary Pipeline script : Body : Start - (42 ms in block)
Print Message - (15 ms in self)alwaysConsole Output
Run arbitrary Pipeline script : Start - (0.51 sec in block)Console Output
Run arbitrary Pipeline script : Body : Start - (0.48 sec in block)
Print Message - (20 ms in self)successConsole Output
Set jenkins user build variables : Start - (0.43 sec in block)Console Output
General Build Wrapper : Body : Start - (0.38 sec in block)
Run arbitrary Pipeline script : Start - (79 ms in block)Console Output
Run arbitrary Pipeline script : Body : Start - (33 ms in block)
Print Message - (8 ms in self)user: , telphone: Console Output
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-12-10_12-33-33 - 详细信息:dev - 状态:<font color=#01B468> 上传成功 </font> - 执行人:auto --- > 请ota发布同学尽快发布验证,并在群里同步发布信息~@"},"at": {"atMobiles": [""],"isAtAll": "false"} }' Console Output
Print Message - (9 ms in self){"errcode":0,"errmsg":"ok"}Console Output