Console Output
Generic Cause
GenericWebhookEnvironmentContributor
Received:
{"object_kind":"push","event_name":"push","before":"2468acf7a68970e9baa23f240fd4a0cabc30afe6","after":"0a75c4638d7987d14c3fadc47e9625682a288cde","ref":"refs/heads/rc_dev","checkout_sha":"0a75c4638d7987d14c3fadc47e9625682a288cde","message":null,"user_id":103,"user_name":"huangxiaolong","user_username":"huangxiaolong","user_email":null,"user_avatar":"https://www.gravatar.com/avatar/6c60230eadf2efa1e4743b360609fa66?s=80&d=identicon","project_id":855,"project":{"id":855,"name":"weifang_container","description":"","web_url":"http://159.27.226.4/config/hdmap_cloud/weifang_container","avatar_url":null,"git_ssh_url":"git@159.27.226.4:config/hdmap_cloud/weifang_container.git","git_http_url":"http://159.27.226.4/config/hdmap_cloud/weifang_container.git","namespace":"hdmap_cloud","visibility_level":0,"path_with_namespace":"config/hdmap_cloud/weifang_container","default_branch":"main","ci_config_path":null,"homepage":"http://159.27.226.4/config/hdmap_cloud/weifang_container","url":"git@159.27.226.4:config/hdmap_cloud/weifang_container.git","ssh_url":"git@159.27.226.4:config/hdmap_cloud/weifang_container.git","http_url":"http://159.27.226.4/config/hdmap_cloud/weifang_container.git"},"commits":[{"id":"0a75c4638d7987d14c3fadc47e9625682a288cde","message":"Update params/hdmap_server_node.yaml","title":"Update params/hdmap_server_node.yaml","timestamp":"2023-11-28T02:39:50+00:00","url":"http://159.27.226.4/config/hdmap_cloud/weifang_container/-/commit/0a75c4638d7987d14c3fadc47e9625682a288cde","author":{"name":"huangxiaolong","email":"huangxiaolong@senior.auto"},"added":[],"modified":["params/hdmap_server_node.yaml"],"removed":[]}],"total_commits_count":1,"push_options":{},"repository":{"name":"weifang_container","url":"git@159.27.226.4:config/hdmap_cloud/weifang_container.git","description":"","homepage":"http://159.27.226.4/config/hdmap_cloud/weifang_container","git_http_url":"http://159.27.226.4/config/hdmap_cloud/weifang_container.git","git_ssh_url":"git@159.27.226.4:config/hdmap_cloud/weifang_container.git","visibility_level":0}}
Contributing variables:
branch = refs/heads/rc_dev
gitHttpUrl = http://159.27.226.4/config/hdmap_cloud/weifang_container.git
object_kind = push
projectId = 855
projectName = weifang_container
runOpts = GitlabPush
runOpts_0 = GitlabPush
userName = huangxiaolong
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 6626c90d92f957cefc10b0e0468f610292ffda5c
The recommended git tool is: NONE
using credential gitlab_weilk
> git rev-parse --resolve-git-dir /var/lib/jenkins/workspace/hdmap-config@libs/e94781a6efe9f09486b8ea226d2b758971618b049d1fe436de6265fac85ceea3/.git # timeout=10
Fetching changes from the remote Git repository
> git config remote.origin.url http://159.27.226.4/weilikang/jenkinslib.git # timeout=10
Fetching without tags
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
Checking out Revision 6626c90d92f957cefc10b0e0468f610292ffda5c (master)
> git config core.sparsecheckout # timeout=10
> git checkout -f 6626c90d92f957cefc10b0e0468f610292ffda5c # timeout=10
Commit message: "Update dingtalk.groovy"
> git rev-list --no-walk 6626c90d92f957cefc10b0e0468f610292ffda5c # timeout=10
[Pipeline] Start of Pipeline
[Pipeline] echo
weifang_container
[Pipeline] echo
GitlabPush
[Pipeline] echo
rc_dev
[Pipeline] echo
weifang_container
[Pipeline] echo
http://159.27.226.4/config/hdmap_cloud/weifang_container.git
[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
> git rev-parse --resolve-git-dir /var/lib/jenkins/workspace/hdmap-config/.git # timeout=10
Fetching changes from the remote Git repository
> git config remote.origin.url http://159.27.226.4/weilikang/jenkinsfiles.git # 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 rev-parse refs/remotes/origin/master^{commit} # timeout=10
Checking out Revision 5e5296e130f91d1125d4c4899f9a73d5eff76038 (refs/remotes/origin/master)
> git config core.sparsecheckout # timeout=10
> git checkout -f 5e5296e130f91d1125d4c4899f9a73d5eff76038 # timeout=10
Commit message: "Update all-confname.jenkinsfile"
> git rev-list --no-walk 5e5296e130f91d1125d4c4899f9a73d5eff76038 # 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_staging_2023-11-28_10-39-32 /root/workspace/hdmap-config/hdmap_cloud_params_staging_2023-11-28_10-39-32.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/weifang_container.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/weifang_container.git
> git init /root/workspace/hdmap-config/hdmap_cloud_config # timeout=10
Fetching upstream changes from http://159.27.226.4/config/hdmap_cloud/weifang_container.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/weifang_container.git +refs/heads/*:refs/remotes/origin/* # timeout=10
> git config remote.origin.url http://159.27.226.4/config/hdmap_cloud/weifang_container.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 0a75c4638d7987d14c3fadc47e9625682a288cde (origin/rc_dev)
> git config core.sparsecheckout # timeout=10
> git checkout -f 0a75c4638d7987d14c3fadc47e9625682a288cde # timeout=10
Commit message: "Update params/hdmap_server_node.yaml"
> git rev-list --no-walk 2468acf7a68970e9baa23f240fd4a0cabc30afe6 # 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_weifang_container_2023-11-28_10-40-02
[Pipeline] sh
+ rm -rf hdmap_cloud_params_weifang_container_2023-11-28_10-40-02/.git
[Pipeline] sh
+ zip -rq hdmap_cloud_params_weifang_container_2023-11-28_10-40-02.zip hdmap_cloud_params_weifang_container_2023-11-28_10-40-02
[Pipeline] sh
+ echo -n '{"module":['
[Pipeline] echo
"device":0,"device_name":"","type":0,"project":"6"
[Pipeline] sh
+ echo -n '{"repo_name":"hdmap-config","branch":"rc_dev","time":"2023-11-28_10-40-00","commit_id":"0a75c46","version":"","commit_msgs":""}],"device":0,"device_name":"","type":0,"project":"6"}'
[Pipeline] sh
+ cat /root/workspace/hdmap-config/version.json
{"module":[{"repo_name":"hdmap-config","branch":"rc_dev","time":"2023-11-28_10-40-00","commit_id":"0a75c46","version":"","commit_msgs":""}],"device":0,"device_name":"","type":0,"project":"6"}
[Pipeline] echo
/root/workspace/hdmap-config/hdmap_cloud_params_weifang_container_2023-11-28_10-40-02.zip,/root/workspace/hdmap-config/version.json
[Pipeline] sh
+ curl -X POST http://172.18.5.234/ota-api/otaUploadFileAndVersion --form 'Content-Type="multipart/form-data"' --form 'file=@"/root/workspace/hdmap-config/hdmap_cloud_params_weifang_container_2023-11-28_10-40-02.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 8418 0 43 100 8375 405 79009 --:--:-- --:--:-- --:--:-- 79415
[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: null
[Pipeline] echo
用户不存在列表中
[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_weifang_container_2023-11-28_10-40-02
- 详细信息:weifang_container
- 状态:<font color=#01B468> 上传成功 </font>
- 执行人:auto
---
> 请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 487 100 27 100 460 225 3833 --:--:-- --:--:-- --:--:-- 4058
[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