Step | Arguments | | | Status |
---|
Start of Pipeline - (37 sec in block) | | | | |
Print Message - (19 ms in self) | polaris | |  | |
Print Message - (16 ms in self) | GitlabPush | |  | |
Print Message - (0.24 sec in self) | rc_dev | |  | |
Allocate node : Start - (37 sec in block) | built-in | |  | |
Allocate node : Body : Start - (37 sec in block) | | | | |
Stage : Start - (0.29 sec in block) | Declarative: Checkout SCM | |  | |
Declarative: Checkout SCM - (0.24 sec in block) | | | | |
Check out from version control - (0.21 sec in self) | | |  | |
Set environment variables : Start - (36 sec in block) | GIT_BRANCH, GIT_COMMIT, GIT_PREVIOUS_COMMIT, GIT_PREVIOUS_SUCCESSFUL_COMMIT, GIT_URL | |  | |
Set environment variables : Body : Start - (36 sec in block) | | | | |
Set environment variables : Start - (36 sec in block) | commitPath, commitFileName, commitPathTmp, _time, verPath, workHome | |  | |
Set environment variables : Body : Start - (36 sec in block) | | | | |
Stage : Start - (5.7 sec in block) | checkout | |  | |
checkout - (5.7 sec in block) | | | | |
Run arbitrary Pipeline script : Start - (5.6 sec in block) | | |  | |
Run arbitrary Pipeline script : Body : Start - (5.6 sec in block) | | | | |
Print Message - (22 ms in self) | rc_dev | |  | |
Color ANSI Console Output : Start - (85 ms in block) | xterm | |  | |
Color ANSI Console Output : Body : Start - (34 ms in block) | | |  | |
Print Message - (7 ms in self) | [1;32m >>>>>>>>>>拉取polaris>>>>>>>>>> [m | |  | |
Shell Script - (0.27 sec in self) | rm -rf /root/workspace/polaris/* && mkdir /root/workspace/polaris/polaris/ | |  | |
Change current directory : Start - (4.9 sec in block) | /root/workspace/polaris/polaris/ | |  | |
Change current directory : Body : Start - (4.8 sec in block) | | | | |
Check out from version control - (4.8 sec in self) | | |  | |
Shell Script - (0.26 sec in self) | rm -rf /root/workspace/polaris@tmp | |  | |
Stage : Start - (30 sec in block) | zip->post | |  | |
zip->post - (30 sec in block) | | | | |
Run arbitrary Pipeline script : Start - (30 sec in block) | | |  | |
Run arbitrary Pipeline script : Body : Start - (30 sec in block) | | | | |
Color ANSI Console Output : Start - (92 ms in block) | xterm | |  | |
Color ANSI Console Output : Body : Start - (39 ms in block) | | |  | |
Print Message - (8 ms in self) | [1;32m >>>>>>>>>>压缩成zip包>>>>>>>>>> [m | |  | |
Read JSON from files in the workspace. - (33 ms in self) | /root/commtest/project/project-polaris.json | |  | |
Bind credentials to variables : Start - (0.23 sec in block) | | |  | |
Bind credentials to variables : Body : Start - (0.16 sec in block) | | | | |
Perform an HTTP Request and return a response object - (0.14 sec in self) | | |  | |
Read JSON from files in the workspace. - (26 ms in self) | | |  | |
Print Message - (25 ms in self) | hardware/polaris | |  | |
Print Message - (17 ms in self) | 527 | |  | |
Print Message - (31 ms in self) | 527 | |  | |
Change current directory : Start - (28 sec in block) | /root/workspace/polaris/ | |  | |
Change current directory : Body : Start - (28 sec in block) | | | | |
Change current directory : Start - (1.4 sec in block) | /root/workspace/polaris/polaris/ | |  | |
Change current directory : Body : Start - (1.4 sec in block) | | | | |
Shell Script - (0.27 sec in self) | echo -n '{"module":[' > /root/workspace/polaris/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 527 76bd736 | |  | |
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":"polaris","branch":"rc_dev","port":"hairun","time":"2024-12-13_14-22-23","commit_id":"76bd736","version":"","commit_msgs":",IHYyLjAg5L+u5aSN5LiA5Liqc2ltY29t5aSN5L2NY29weeeahGJ1Z++8jCDkvb/og70yLjAgNWflip/og70=,"}],"device":1,"device_name":"none","type":1,"project":"0"}' >> /root/workspace/polaris/version.json | |  | |
Shell Script - (0.27 sec in self) | cat /root/workspace/polaris/version.json | |  | |
Shell Script - (0.28 sec in self) | cp -r polaris/ polaris_2024-12-13_14-22-30 | |  | |
Shell Script - (0.27 sec in self) | rm -rf polaris_2024-12-13_14-22-30/.git/ | |  | |
Shell Script - (0.81 sec in self) | zip -rq polaris_2024-12-13_14-22-30.zip ./polaris_2024-12-13_14-22-30/ ./version.json | |  | |
Shell Script - (0.27 sec in self) | ls /root/workspace/polaris/ | |  | |
Shell Script - (6.6 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/polaris/polaris_2024-12-13_14-22-30.zip"' --form 'version=@"/root/workspace/polaris/version.json"'
| |  | |
Print Message - (13 ms in self) | {"msg":"操作成功","code":200,"data":""} | |  | |
Read JSON from files in the workspace. - (18 ms in self) | | |  | |
Print Message - (14 ms in self) | [msg:操作成功, code:200, data:] | |  | |
Print Message - (14 ms in self) | status:200 | |  | |
Print Message - (20 ms in self) | {"msg":"操作成功","code":200,"data":""} | |  | |
Shell Script - (0.52 sec in self) | curl -X POST 'http://127.0.0.1:8090/otaUploadFileAndVersion' --form 'Content-Type="multipart/form-data"' --form 'file=@"/root/workspace/polaris/polaris_2024-12-13_14-22-30.zip"' --form 'version=@"/root/workspace/polaris/version.json"'
| |  | |
Print Message - (14 ms in self) | {"msg":"操作成功","code":200,"data":""} | |  | |
Read JSON from files in the workspace. - (17 ms in self) | | |  | |
Print Message - (13 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 - (18 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/polaris/polaris_2024-12-13_14-22-30.zip"' --form 'version=@"/root/workspace/polaris/version.json"'
| |  | |
Print Message - (15 ms in self) | {"msg":"操作成功","code":200,"data":""} | |  | |
Read JSON from files in the workspace. - (18 ms in self) | | |  | |
Print Message - (12 ms in self) | [msg:操作成功, code:200, data:] | |  | |
Print Message - (14 ms in self) | status:200 | |  | |
Print Message - (8 ms in self) | {"msg":"操作成功","code":200,"data":""} | |  | |
Change current directory : Start - (0.67 sec in block) | /root/workspace/polaris/polaris/ | |  | |
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. - (30 ms in self) | /root/commtest/project/project-polaris.json | |  | |
Print Message - (13 ms in self) | {"project":{"polaris":"hardware/polaris"},"commit":{"polaris":"30b1a0f"}} | |  | |
Shell Script - (0.27 sec in self) | echo '{"project":{"polaris":"hardware/polaris"},"commit":{"polaris":"76bd736"}}' > /root/commtest/project/project-polaris.json | |  | |
Shell Script - (0.27 sec in self) | rm -rf /root/workspace/polaris/*@tmp | |  | |
Stage : Start - (0.68 sec in block) | Declarative: Post Actions | |  | |
Declarative: Post Actions - (0.64 sec in block) | | | | |
Run arbitrary Pipeline script : Start - (84 ms in block) | | |  | |
Run arbitrary Pipeline script : Body : Start - (34 ms in block) | | | | |
Print Message - (10 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 - (84 ms in block) | | |  | |
Run arbitrary Pipeline script : Body : Start - (34 ms in block) | | | | |
Print Message - (9 ms in self) | user: , telphone: | |  | |
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": "# 版本上传通知
### [polaris更新]
---
- 版本名:polaris_2024-12-13_14-22-30
- 详细信息:rc_dev
- 状态:<font color=#01B468> 上传成功 </font>
- 执行人:auto
---
> 请ota发布同学尽快发布验证,并在群里同步发布信息~@"},"at": {"atMobiles": [""],"isAtAll": "false"} }'
| |  | |
Print Message - (9 ms in self) | {"errcode":0,"errmsg":"ok"} | |  | |