Started by user weilikang
Obtained hdmap/hdmap-config.jenkinsfile from git http://159.27.226.4/weilikang/jenkinsfiles.git
Loading library jenkinslib@master
Attempting to resolve master from remote references...
> git --version # timeout=10
> git --version # 'git version 2.25.1'
using GIT_ASKPASS to set credentials gitlab_weilk
> git ls-remote -h -- http://159.27.226.4/weilikang/jenkinslib.git # timeout=10
Found match: refs/heads/master revision 4491f4abd211ae8b787be0d582a82d6008c52f1c
The recommended git tool is: NONE
using credential gitlab_weilk
Cloning the remote Git repository
Cloning with configured refspecs honoured and without tags
Cloning repository http://159.27.226.4/weilikang/jenkinslib.git
> git init /var/lib/jenkins/workspace/hdmap-config@libs/e94781a6efe9f09486b8ea226d2b758971618b049d1fe436de6265fac85ceea3 # timeout=10
Fetching upstream changes from http://159.27.226.4/weilikang/jenkinslib.git
> git --version # timeout=10
> git --version # 'git version 2.25.1'
using GIT_ASKPASS to set credentials gitlab_weilk
> git fetch --no-tags --force --progress -- http://159.27.226.4/weilikang/jenkinslib.git +refs/heads/*:refs/remotes/origin/* # timeout=10
> git config remote.origin.url http://159.27.226.4/weilikang/jenkinslib.git # timeout=10
> git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
Avoid second fetch
Checking out Revision 4491f4abd211ae8b787be0d582a82d6008c52f1c (master)
> git config core.sparsecheckout # timeout=10
> git checkout -f 4491f4abd211ae8b787be0d582a82d6008c52f1c # timeout=10
Commit message: "Update orinModule64Choice.groovy"
> git rev-list --no-walk 442cc3729536d2b84a6152bff68636c5f437c091 # timeout=10
[Pipeline] Start of Pipeline
[Pipeline] echo
null
[Pipeline] echo
null
[Pipeline] echo
xiamen
[Pipeline] node
Running on Jenkins in /var/lib/jenkins/workspace/hdmap-config
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Declarative: Checkout SCM)
[Pipeline] checkout
The recommended git tool is: NONE
using credential gitlab_weilk
Cloning the remote Git repository
Cloning repository http://159.27.226.4/weilikang/jenkinsfiles.git
> git init /var/lib/jenkins/workspace/hdmap-config # timeout=10
Fetching upstream changes from http://159.27.226.4/weilikang/jenkinsfiles.git
> git --version # timeout=10
> git --version # 'git version 2.25.1'
using GIT_ASKPASS to set credentials gitlab_weilk
> git fetch --tags --force --progress -- http://159.27.226.4/weilikang/jenkinsfiles.git +refs/heads/*:refs/remotes/origin/* # timeout=10
> git config remote.origin.url http://159.27.226.4/weilikang/jenkinsfiles.git # timeout=10
> git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
Avoid second fetch
> git rev-parse refs/remotes/origin/master^{commit} # timeout=10
Checking out Revision 7430e54903c1db37e6d90beef38fba09af3eada5 (refs/remotes/origin/master)
> git config core.sparsecheckout # timeout=10
> git checkout -f 7430e54903c1db37e6d90beef38fba09af3eada5 # timeout=10
Commit message: "Update telediagnostic.jenkinsfile"
> git rev-list --no-walk 9234acf3af59a4f916e3faa3b9c3afe39629eee8 # timeout=10
[Pipeline] }
[Pipeline] // stage
[Pipeline] withEnv
[Pipeline] {
[Pipeline] withEnv
[Pipeline] {
[Pipeline] stage
[Pipeline] { (checkout)
[Pipeline] script
[Pipeline] {
[Pipeline] ansiColor
[Pipeline] {
[Pipeline] echo
>>>>>>>>>>拉取hdmap-config>>>>>>>>>>
[Pipeline] }
[Pipeline] // ansiColor
[Pipeline] sh
+ rm -rf /root/workspace/hdmap-config/hdmap_cloud_config /root/workspace/hdmap-config/hdmap_cloud_params_xiamen_2024-01-11_15-52-36 /root/workspace/hdmap-config/hdmap_cloud_params_xiamen_2024-01-11_15-52-36.zip /root/workspace/hdmap-config/version.json
[Pipeline] dir
Running in /root/workspace/hdmap-config/hdmap_cloud_config
[Pipeline] {
[Pipeline] echo
rc_dev,http://159.27.226.4/config/hdmap_cloud/xiamen.git
[Pipeline] checkout
The recommended git tool is: NONE
using credential gitlab_ota
Cloning the remote Git repository
Cloning repository http://159.27.226.4/config/hdmap_cloud/xiamen.git
> git init /root/workspace/hdmap-config/hdmap_cloud_config # timeout=10
Fetching upstream changes from http://159.27.226.4/config/hdmap_cloud/xiamen.git
> git --version # timeout=10
> git --version # 'git version 2.25.1'
using GIT_ASKPASS to set credentials gitlab_ota
> git fetch --tags --force --progress -- http://159.27.226.4/config/hdmap_cloud/xiamen.git +refs/heads/*:refs/remotes/origin/* # timeout=10
> git config remote.origin.url http://159.27.226.4/config/hdmap_cloud/xiamen.git # timeout=10
> git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
Avoid second fetch
> git rev-parse origin/rc_dev^{commit} # timeout=10
Checking out Revision b12a5bd4e6d662c8b98704cb6e3b84ba0d692c44 (origin/rc_dev)
> git config core.sparsecheckout # timeout=10
> git checkout -f b12a5bd4e6d662c8b98704cb6e3b84ba0d692c44 # timeout=10
Commit message: "Update params/hdmap_server_node.yaml"
> git rev-list --no-walk b12a5bd4e6d662c8b98704cb6e3b84ba0d692c44 # timeout=10
[Pipeline] sh
+ git rev-parse --short HEAD
[Pipeline] }
[Pipeline] // dir
[Pipeline] sh
+ rm -rf /root/workspace/hdmap-config/hdmap_cloud_config@tmp
[Pipeline] }
[Pipeline] // script
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (zip->post)
[Pipeline] script
[Pipeline] {
[Pipeline] ansiColor
[Pipeline] {
[Pipeline] echo
>>>>>>>>>>压缩成zip包>>>>>>>>>>
[Pipeline] }
[Pipeline] // ansiColor
[Pipeline] dir
Running in /root/workspace/hdmap-config
[Pipeline] {
[Pipeline] sh
+ cp -r hdmap_cloud_config/ hdmap_cloud_params_xiamen_2024-09-14_11-12-45
[Pipeline] sh
+ rm -rf hdmap_cloud_params_xiamen_2024-09-14_11-12-45/.git
[Pipeline] sh
+ zip -rq hdmap_cloud_params_xiamen_2024-09-14_11-12-45.zip hdmap_cloud_params_xiamen_2024-09-14_11-12-45
[Pipeline] sh
+ echo -n '{"module":['
[Pipeline] echo
"device":0,"device_name":"","type":0,"project":"5"
[Pipeline] sh
+ echo -n '{"repo_name":"hdmap-config","branch":"rc_dev","time":"2024-09-14_11-12-43","commit_id":"b12a5bd","version":"","commit_msgs":""}],"device":0,"device_name":"","type":0,"project":"5"}'
[Pipeline] sh
+ cat /root/workspace/hdmap-config/version.json
{"module":[{"repo_name":"hdmap-config","branch":"rc_dev","time":"2024-09-14_11-12-43","commit_id":"b12a5bd","version":"","commit_msgs":""}],"device":0,"device_name":"","type":0,"project":"5"}
[Pipeline] echo
/root/workspace/hdmap-config/hdmap_cloud_params_xiamen_2024-09-14_11-12-45.zip,/root/workspace/hdmap-config/version.json
[Pipeline] sh
+ curl -X POST http://143.64.91.51:18081/prod-api/otaUploadFileAndVersion --form 'Content-Type="multipart/form-data"' --form 'file=@"/root/workspace/hdmap-config/hdmap_cloud_params_xiamen_2024-09-14_11-12-45.zip"' --form 'version=@"/root/workspace/hdmap-config/version.json"'
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 8365 0 43 100 8322 111 21671 --:--:-- --:--:-- --:--:-- 21783
[Pipeline] echo
{"msg":"操作成功","code":200,"data":""}
[Pipeline] readJSON
[Pipeline] echo
[msg:操作成功, code:200, data:]
[Pipeline] echo
status:200
[Pipeline] echo
{"msg":"操作成功","code":200,"data":""}
[Pipeline] }
[Pipeline] // dir
[Pipeline] }
[Pipeline] // script
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Declarative: Post Actions)
[Pipeline] script
[Pipeline] {
[Pipeline] echo
always
[Pipeline] }
[Pipeline] // script
[Pipeline] script
[Pipeline] {
[Pipeline] echo
success
[Pipeline] wrap
[Pipeline] {
[Pipeline] script
[Pipeline] {
[Pipeline] echo
user: , telphone:
[Pipeline] }
[Pipeline] // script
[Pipeline] sh
+ curl -X POST 'https://oapi.dingtalk.com/robot/send?access_token=c4e318472bbd19d0449efb4060de213f730dc32b4bf44819381a8fa7adf61983' -H 'Content-Type: application/json' -d '{"msgtype": "markdown","markdown": {"title":"jenkins通知","text": "# 版本上传通知
### [地图上云参数]
---
- 版本名:hdmap_cloud_params_xiamen_2024-09-14_11-12-45
- 详细信息:xiamen
- 状态:<font color=#01B468> 上传成功 </font>
- 执行人:weilikang
---
> 请ota发布同学尽快发布验证,并在群里同步发布信息~@"},"at": {"atMobiles": [""],"isAtAll": "false"} }'
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 470 100 27 100 443 230 3786 --:--:-- --:--:-- --:--:-- 4017
[Pipeline] echo
{"errcode":0,"errmsg":"ok"}
[Pipeline] }
[Pipeline] // wrap
[Pipeline] }
[Pipeline] // script
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
Finished: SUCCESS