Step | Arguments | | | Status |
---|
Start of Pipeline - (37 sec in block) | | | | |
Print Message - (15 ms in self) | mizar | |  | |
Print Message - (16 ms in self) | GitlabPush | |  | |
Print Message - (0.19 sec in self) | v3.0-jp5.1.2 | |  | |
Allocate node : Start - (37 sec in block) | built-in | |  | |
Allocate node : Body : Start - (37 sec in block) | | | | |
Stage : Start - (0.34 sec in block) | Declarative: Checkout SCM | |  | |
Declarative: Checkout SCM - (0.28 sec in block) | | | | |
Check out from version control - (0.24 sec in self) | | |  | |
Set environment variables : Start - (37 sec in block) | GIT_BRANCH, GIT_COMMIT, GIT_PREVIOUS_COMMIT, GIT_PREVIOUS_SUCCESSFUL_COMMIT, GIT_URL | |  | |
Set environment variables : Body : Start - (37 sec in block) | | | | |
Set environment variables : Start - (37 sec in block) | commitPath, commitFileName, commitPathTmp, _time, verPath, workHome | |  | |
Set environment variables : Body : Start - (36 sec in block) | | | | |
Stage : Start - (9.6 sec in block) | checkout | |  | |
checkout - (9.5 sec in block) | | | | |
Run arbitrary Pipeline script : Start - (9.4 sec in block) | | |  | |
Run arbitrary Pipeline script : Body : Start - (9.4 sec in block) | | | | |
Print Message - (22 ms in self) | v3.0-jp5.1.2 | |  | |
Color ANSI Console Output : Start - (0.11 sec in block) | xterm | |  | |
Color ANSI Console Output : Body : Start - (42 ms in block) | | |  | |
Print Message - (9 ms in self) | [1;32m >>>>>>>>>>拉取mizar>>>>>>>>>> [m | |  | |
Shell Script - (0.29 sec in self) | rm -rf /root/workspace/mizar/* && mkdir /root/workspace/mizar/mizar/ | |  | |
Change current directory : Start - (8.7 sec in block) | /root/workspace/mizar/mizar/ | |  | |
Change current directory : Body : Start - (8.6 sec in block) | | | | |
Check out from version control - (8.6 sec in self) | | |  | |
Shell Script - (0.27 sec in self) | rm -rf /root/workspace/mizar@tmp | |  | |
Stage : Start - (26 sec in block) | zip->post | |  | |
zip->post - (26 sec in block) | | | | |
Run arbitrary Pipeline script : Start - (26 sec in block) | | |  | |
Run arbitrary Pipeline script : Body : Start - (26 sec in block) | | | | |
Color ANSI Console Output : Start - (0.11 sec in block) | xterm | |  | |
Color ANSI Console Output : Body : Start - (46 ms in block) | | |  | |
Print Message - (10 ms in self) | [1;32m >>>>>>>>>>压缩成zip包>>>>>>>>>> [m | |  | |
Read JSON from files in the workspace. - (44 ms in self) | /root/commtest/project/project-mizar.json | |  | |
Bind credentials to variables : Start - (0.25 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. - (38 ms in self) | | |  | |
Print Message - (18 ms in self) | hardware/mizar | |  | |
Print Message - (14 ms in self) | 512 | |  | |
Print Message - (33 ms in self) | 512 | |  | |
Change current directory : Start - (24 sec in block) | /root/workspace/mizar/ | |  | |
Change current directory : Body : Start - (24 sec in block) | | | | |
Change current directory : Start - (1.5 sec in block) | /root/workspace/mizar/mizar/ | |  | |
Change current directory : Body : Start - (1.5 sec in block) | | | | |
Shell Script - (0.28 sec in self) | echo -n '{"module":[' > /root/workspace/mizar/version.json | |  | |
Shell Script - (0.28 sec in self) | git rev-parse --short HEAD | |  | |
Shell Script - (0.31 sec in self) | python3 /root/weilk/project/get_git_now.py 512 2595629 | |  | |
Print Message - (25 ms in self) | "device":1,"device_name":"none","type":0,"project":"0" | |  | |
Shell Script - (0.28 sec in self) | echo -n '{"repo_name":"mizar","branch":"v3.0-jp5.1.2","port":"hairun","time":"2023-12-18_19-48-30","commit_id":"2595629","version":"","commit_msgs":"5ZCv55So5a6a5L2N5Liy5Y+j6IqC54K55ZCN55qE6KeE5YiZ5paH5Lu2,,"}],"device":1,"device_name":"none","type":0,"project":"0"}' >> /root/workspace/mizar/version.json | |  | |
Shell Script - (0.28 sec in self) | cat /root/workspace/mizar/version.json | |  | |
Shell Script - (0.32 sec in self) | cp -r mizar/ mizar_2023-12-18_19-48-41 | |  | |
Shell Script - (0.28 sec in self) | rm -rf mizar_2023-12-18_19-48-41/.git/ | |  | |
Shell Script - (2.7 sec in self) | zip -rq mizar_2023-12-18_19-48-41.zip ./mizar_2023-12-18_19-48-41/ ./version.json | |  | |
Shell Script - (0.29 sec in self) | ls /root/workspace/mizar/ | |  | |
Shell Script - (11 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/mizar/mizar_2023-12-18_19-48-41.zip"' --form 'version=@"/root/workspace/mizar/version.json"'
| |  | |
Print Message - (14 ms in self) | {"msg":"操作成功","code":200,"data":""} | |  | |
Read JSON from files in the workspace. - (20 ms in self) | | |  | |
Print Message - (14 ms in self) | [msg:操作成功, code:200, data:] | |  | |
Print Message - (13 ms in self) | status:200 | |  | |
Print Message - (28 ms in self) | {"msg":"操作成功","code":200,"data":""} | |  | |
Shell Script - (4.6 sec in self) | curl -X POST 'http://127.0.0.1:8090/otaUploadFileAndVersion' --form 'Content-Type="multipart/form-data"' --form 'file=@"/root/workspace/mizar/mizar_2023-12-18_19-48-41.zip"' --form 'version=@"/root/workspace/mizar/version.json"'
| |  | |
Print Message - (15 ms in self) | {"msg":"操作成功","code":200,"data":""} | |  | |
Read JSON from files in the workspace. - (23 ms in self) | | |  | |
Print Message - (15 ms in self) | [msg:操作成功, code:200, data:] | |  | |
Print Message - (15 ms in self) | status:200 | |  | |
Print Message - (30 ms in self) | {"msg":"操作成功","code":200,"data":""} | |  | |
Shell Script - (2.6 sec in self) | curl -X POST 'http://172.18.5.234/ota-api/otaUploadFileAndVersion' --form 'Content-Type="multipart/form-data"' --form 'file=@"/root/workspace/mizar/mizar_2023-12-18_19-48-41.zip"' --form 'version=@"/root/workspace/mizar/version.json"'
| |  | |
Print Message - (14 ms in self) | {"msg":"操作成功","code":200,"data":""} | |  | |
Read JSON from files in the workspace. - (20 ms in self) | | |  | |
Print Message - (15 ms in self) | [msg:操作成功, code:200, data:] | |  | |
Print Message - (14 ms in self) | status:200 | |  | |
Print Message - (9 ms in self) | {"msg":"操作成功","code":200,"data":""} | |  | |
Change current directory : Start - (0.7 sec in block) | /root/workspace/mizar/mizar/ | |  | |
Change current directory : Body : Start - (0.63 sec in block) | | | | |
Shell Script - (0.28 sec in self) | git rev-parse --short HEAD | |  | |
Read JSON from files in the workspace. - (24 ms in self) | /root/commtest/project/project-mizar.json | |  | |
Print Message - (16 ms in self) | {"project":{"mizar":"hardware/mizar"},"commit":{"mizar":"1c6173c"}} | |  | |
Shell Script - (0.27 sec in self) | echo '{"project":{"mizar":"hardware/mizar"},"commit":{"mizar":"2595629"}}' > /root/commtest/project/project-mizar.json | |  | |
Shell Script - (0.28 sec in self) | rm -rf /root/workspace/mizar/*@tmp | |  | |
Shell Script - (0.27 sec in self) | rm -rf /root/workspace/mizar@tmp | |  | |
Stage : Start - (0.8 sec in block) | Declarative: Post Actions | |  | |
Declarative: Post Actions - (0.76 sec in block) | | | | |
Run arbitrary Pipeline script : Start - (0.1 sec in block) | | |  | |
Run arbitrary Pipeline script : Body : Start - (38 ms in block) | | | | |
Print Message - (9 ms in self) | always | |  | |
Run arbitrary Pipeline script : Start - (0.61 sec in block) | | |  | |
Run arbitrary Pipeline script : Body : Start - (0.56 sec in block) | | | | |
Print Message - (20 ms in self) | success | |  | |
Set jenkins user build variables : Start - (0.49 sec in block) | | |  | |
General Build Wrapper : Body : Start - (0.43 sec in block) | | | | |
Run arbitrary Pipeline script : Start - (0.12 sec in block) | | |  | |
Run arbitrary Pipeline script : Body : Start - (56 ms in block) | | | | |
Print Message - (14 ms in self) | user: , telphone: null | |  | |
Print Message - (11 ms in self) | 用户不存在列表中 | |  | |
Shell Script - (0.28 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": "# 版本上传通知
### [mizar更新]
---
- 版本名:mizar_2023-12-18_19-48-41
- 详细信息:v3.0-jp5.1.2
- 状态:<font color=#01B468> 上传成功 </font>
- 执行人:auto
---
> 请ota发布同学尽快发布验证,并在群里同步发布信息~ "},"at": {"atMobiles": [""],"isAtAll": "false"} }'
| |  | |
Print Message - (8 ms in self) | {"errcode":0,"errmsg":"ok"} | |  | |