Step | Arguments | | | Status |
---|
Start of Pipeline - (2 min 32 sec in block) | | | | |
Print Message - (15 ms in self) | polaris | |  | |
Print Message - (17 ms in self) | GitlabPush | |  | |
Print Message - (0.2 sec in self) | rc_dev | |  | |
Allocate node : Start - (2 min 31 sec in block) | built-in | |  | |
Allocate node : Body : Start - (2 min 31 sec in block) | | | | |
Stage : Start - (1 sec in block) | Declarative: Checkout SCM | |  | |
Declarative: Checkout SCM - (0.95 sec in block) | | | | |
Check out from version control - (0.92 sec in self) | | |  | |
Set environment variables : Start - (2 min 30 sec in block) | GIT_BRANCH, GIT_COMMIT, GIT_PREVIOUS_COMMIT, GIT_PREVIOUS_SUCCESSFUL_COMMIT, GIT_URL | |  | |
Set environment variables : Body : Start - (2 min 30 sec in block) | | | | |
Set environment variables : Start - (2 min 30 sec in block) | commitPath, commitFileName, commitPathTmp, _time, verPath, workHome | |  | |
Set environment variables : Body : Start - (2 min 30 sec in block) | | | | |
Stage : Start - (5 sec in block) | checkout | |  | |
checkout - (4.9 sec in block) | | | | |
Run arbitrary Pipeline script : Start - (4.9 sec in block) | | |  | |
Run arbitrary Pipeline script : Body : Start - (4.8 sec in block) | | | | |
Print Message - (29 ms in self) | rc_dev | |  | |
Color ANSI Console Output : Start - (0.11 sec in block) | xterm | |  | |
Color ANSI Console Output : Body : Start - (47 ms in block) | | |  | |
Print Message - (8 ms in self) | [1;32m >>>>>>>>>>拉取polaris>>>>>>>>>> [m | |  | |
Shell Script - (0.29 sec in self) | rm -rf /root/workspace/polaris/* && mkdir /root/workspace/polaris/polaris/ | |  | |
Change current directory : Start - (4.1 sec in block) | /root/workspace/polaris/polaris/ | |  | |
Change current directory : Body : Start - (4 sec in block) | | | | |
Check out from version control - (4 sec in self) | | |  | |
Shell Script - (0.29 sec in self) | rm -rf /root/workspace/polaris@tmp | |  | |
Stage : Start - (2 min 24 sec in block) | zip->post | |  | |
zip->post - (2 min 24 sec in block) | | | | |
Run arbitrary Pipeline script : Start - (2 min 24 sec in block) | | |  | |
Run arbitrary Pipeline script : Body : Start - (2 min 24 sec in block) | | | | |
Color ANSI Console Output : Start - (0.11 sec in block) | xterm | |  | |
Color ANSI Console Output : Body : Start - (44 ms in block) | | |  | |
Print Message - (10 ms in self) | [1;32m >>>>>>>>>>压缩成zip包>>>>>>>>>> [m | |  | |
Read JSON from files in the workspace. - (46 ms in self) | /root/commtest/project/project-polaris.json | |  | |
Bind credentials to variables : Start - (0.21 sec in block) | | |  | |
Bind credentials to variables : Body : Start - (0.12 sec in block) | | | | |
Perform an HTTP Request and return a response object - (0.1 sec in self) | | |  | |
Read JSON from files in the workspace. - (21 ms in self) | | |  | |
Print Message - (23 ms in self) | hardware/polaris | |  | |
Print Message - (15 ms in self) | 527 | |  | |
Print Message - (29 ms in self) | 527 | |  | |
Change current directory : Start - (2 min 23 sec in block) | /root/workspace/polaris/ | |  | |
Change current directory : Body : Start - (2 min 23 sec in block) | | | | |
Change current directory : Start - (1.6 sec in block) | /root/workspace/polaris/polaris/ | |  | |
Change current directory : Body : Start - (1.5 sec in block) | | | | |
Shell Script - (0.29 sec in self) | echo -n '{"module":[' > /root/workspace/polaris/version.json | |  | |
Shell Script - (0.3 sec in self) | git rev-parse --short HEAD | |  | |
Shell Script - (0.3 sec in self) | python3 /root/weilk/project/get_git_now.py 527 a8aba36 | |  | |
Print Message - (19 ms in self) | "device":1,"device_name":"none","type":1,"project":"0" | |  | |
Shell Script - (0.3 sec in self) | echo -n '{"repo_name":"polaris","branch":"rc_dev","port":"hairun","time":"2024-09-10_12-48-49","commit_id":"a8aba36","version":"","commit_msgs":",IDIuMOWumuS9jSzorrDlvZVydGNt5pWw5o2u5L+h5oGv,"}],"device":1,"device_name":"none","type":1,"project":"0"}' >> /root/workspace/polaris/version.json | |  | |
Shell Script - (0.28 sec in self) | cat /root/workspace/polaris/version.json | |  | |
Shell Script - (0.31 sec in self) | cp -r polaris/ polaris_2024-09-10_12-48-55 | |  | |
Shell Script - (0.28 sec in self) | rm -rf polaris_2024-09-10_12-48-55/.git/ | |  | |
Shell Script - (1.1 sec in self) | zip -rq polaris_2024-09-10_12-48-55.zip ./polaris_2024-09-10_12-48-55/ ./version.json | |  | |
Shell Script - (0.28 sec in self) | ls /root/workspace/polaris/ | |  | |
Shell Script - (7.7 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-09-10_12-48-55.zip"' --form 'version=@"/root/workspace/polaris/version.json"'
| |  | |
Print Message - (17 ms in self) | {"msg":"操作成功","code":200,"data":""} | |  | |
Read JSON from files in the workspace. - (29 ms in self) | | |  | |
Print Message - (14 ms in self) | [msg:操作成功, code:200, data:] | |  | |
Print Message - (15 ms in self) | status:200 | |  | |
Print Message - (24 ms in self) | {"msg":"操作成功","code":200,"data":""} | |  | |
Shell Script - (0.84 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-09-10_12-48-55.zip"' --form 'version=@"/root/workspace/polaris/version.json"'
| |  | |
Print Message - (17 ms in self) | {"msg":"操作成功","code":200,"data":""} | |  | |
Read JSON from files in the workspace. - (23 ms in self) | | |  | |
Print Message - (19 ms in self) | [msg:操作成功, code:200, data:] | |  | |
Print Message - (15 ms in self) | status:200 | |  | |
Print Message - (23 ms in self) | {"msg":"操作成功","code":200,"data":""} | |  | |
Shell Script - (2 min 11 sec in self) | curl -X POST 'http://172.18.5.234/ota-api/otaUploadFileAndVersion' --form 'Content-Type="multipart/form-data"' --form 'file=@"/root/workspace/polaris/polaris_2024-09-10_12-48-55.zip"' --form 'version=@"/root/workspace/polaris/version.json"'
| |  | |
Stage : Start - (0.78 sec in block) | Declarative: Post Actions | |  | |
Declarative: Post Actions - (0.75 sec in block) | | | | |
Run arbitrary Pipeline script : Start - (96 ms in block) | | |  | |
Run arbitrary Pipeline script : Body : Start - (36 ms in block) | | | | |
Print Message - (10 ms in self) | always | |  | |
Run arbitrary Pipeline script : Start - (0.6 sec in block) | | |  | |
Run arbitrary Pipeline script : Body : Start - (0.57 sec in block) | | | | |
Print Message - (19 ms in self) | failure: zip->post | |  | |
Set jenkins user build variables : Start - (0.51 sec in block) | | |  | |
General Build Wrapper : Body : Start - (0.44 sec in block) | | | | |
Run arbitrary Pipeline script : Start - (0.1 sec in block) | | |  | |
Run arbitrary Pipeline script : Body : Start - (47 ms in block) | | | | |
Print Message - (9 ms in self) | user: , telphone: | |  | |
Shell Script - (0.3 sec in self) | curl -X POST 'https://oapi.dingtalk.com/robot/send?access_token=0e635ba9c724e48482d5e4146087ccb44e6b324d34f5e351b80db04fcf41017a' -H 'Content-Type: application/json' -d '{"msgtype": "markdown","markdown": {"title":"Jenkins通知","text": "# 版本编译失败
### [polaris更新]
---
- 任务名: [polaris]
- 任务号:# 97
- 阶段:zip->post
- 状态:<font color=#FF5151> 上传失败 </font>
- 执行人:auto
---
> 请检查失败原因 @"},"at": {"atMobiles": [""],"isAtAll": "false"} }'
| |  | |
Print Message - (9 ms in self) | {"errcode":0,"errmsg":"ok"} | |  | |