Console Output
Generic Cause
GenericWebhookEnvironmentContributor
Received:
{"object_kind":"push","event_name":"push","before":"1d0fc833e89e5343bc3c2bc28ad42e22cbfd4ff7","after":"61c10e15067f7b659d11c73072478af8228447df","ref":"refs/heads/rc_dev","checkout_sha":"61c10e15067f7b659d11c73072478af8228447df","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":1031,"project":{"id":1031,"name":"taicang_imv","description":"","web_url":"http://159.27.226.4/config/hdmap_cloud/taicang_imv","avatar_url":null,"git_ssh_url":"git@159.27.226.4:config/hdmap_cloud/taicang_imv.git","git_http_url":"http://159.27.226.4/config/hdmap_cloud/taicang_imv.git","namespace":"hdmap_cloud","visibility_level":0,"path_with_namespace":"config/hdmap_cloud/taicang_imv","default_branch":"main","ci_config_path":null,"homepage":"http://159.27.226.4/config/hdmap_cloud/taicang_imv","url":"git@159.27.226.4:config/hdmap_cloud/taicang_imv.git","ssh_url":"git@159.27.226.4:config/hdmap_cloud/taicang_imv.git","http_url":"http://159.27.226.4/config/hdmap_cloud/taicang_imv.git"},"commits":[{"id":"61c10e15067f7b659d11c73072478af8228447df","message":"Update params/routing_config.yaml","title":"Update params/routing_config.yaml","timestamp":"2023-11-28T02:54:31+00:00","url":"http://159.27.226.4/config/hdmap_cloud/taicang_imv/-/commit/61c10e15067f7b659d11c73072478af8228447df","author":{"name":"huangxiaolong","email":"huangxiaolong@senior.auto"},"added":[],"modified":["params/routing_config.yaml"],"removed":[]}],"total_commits_count":1,"push_options":{},"repository":{"name":"taicang_imv","url":"git@159.27.226.4:config/hdmap_cloud/taicang_imv.git","description":"","homepage":"http://159.27.226.4/config/hdmap_cloud/taicang_imv","git_http_url":"http://159.27.226.4/config/hdmap_cloud/taicang_imv.git","git_ssh_url":"git@159.27.226.4:config/hdmap_cloud/taicang_imv.git","visibility_level":0}}
Contributing variables:
branch = refs/heads/rc_dev
gitHttpUrl = http://159.27.226.4/config/hdmap_cloud/taicang_imv.git
object_kind = push
projectId = 1031
projectName = taicang_imv
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
taicang_imv
[Pipeline] echo
GitlabPush
[Pipeline] echo
rc_dev
[Pipeline] echo
taicang_imv
[Pipeline] echo
http://159.27.226.4/config/hdmap_cloud/taicang_imv.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_suqian_2023-11-28_10-53-12 /root/workspace/hdmap-config/hdmap_cloud_params_suqian_2023-11-28_10-53-12.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/taicang_imv.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/taicang_imv.git
> git init /root/workspace/hdmap-config/hdmap_cloud_config # timeout=10
Fetching upstream changes from http://159.27.226.4/config/hdmap_cloud/taicang_imv.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/taicang_imv.git +refs/heads/*:refs/remotes/origin/* # timeout=10
> git config remote.origin.url http://159.27.226.4/config/hdmap_cloud/taicang_imv.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 61c10e15067f7b659d11c73072478af8228447df (origin/rc_dev)
> git config core.sparsecheckout # timeout=10
> git checkout -f 61c10e15067f7b659d11c73072478af8228447df # timeout=10
Commit message: "Update params/routing_config.yaml"
First time build. Skipping changelog.
[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_taicang_imv_2023-11-28_10-54-42
[Pipeline] sh
+ rm -rf hdmap_cloud_params_taicang_imv_2023-11-28_10-54-42/.git
[Pipeline] sh
+ zip -rq hdmap_cloud_params_taicang_imv_2023-11-28_10-54-42.zip hdmap_cloud_params_taicang_imv_2023-11-28_10-54-42
[Pipeline] sh
+ echo -n '{"module":['
[Pipeline] echo
"device":0,"device_name":"","type":0,"project":"4"
[Pipeline] sh
+ echo -n '{"repo_name":"hdmap-config","branch":"rc_dev","time":"2023-11-28_10-54-40","commit_id":"61c10e1","version":"","commit_msgs":""}],"device":0,"device_name":"","type":0,"project":"4"}'
[Pipeline] sh
+ cat /root/workspace/hdmap-config/version.json
{"module":[{"repo_name":"hdmap-config","branch":"rc_dev","time":"2023-11-28_10-54-40","commit_id":"61c10e1","version":"","commit_msgs":""}],"device":0,"device_name":"","type":0,"project":"4"}
[Pipeline] echo
/root/workspace/hdmap-config/hdmap_cloud_params_taicang_imv_2023-11-28_10-54-42.zip,/root/workspace/hdmap-config/version.json
[Pipeline] sh
+ curl -X POST http://ota.senior.auto/prod-api/otaUploadFileAndVersion --form 'Content-Type="multipart/form-data"' --form 'file=@"/root/workspace/hdmap-config/hdmap_cloud_params_taicang_imv_2023-11-28_10-54-42.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 8228 0 0 100 8228 0 40136 --:--:-- --:--:-- --:--:-- 39941
100 8271 0 43 100 8228 184 35313 --:--:-- --:--:-- --:--:-- 35346
[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_taicang_imv_2023-11-28_10-54-42
- 详细信息:taicang_imv
- 状态:<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 475 100 27 100 448 296 4923 --:--:-- --:--:-- --:--:-- 5219
[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