Console Output
Started by user weilikang
Obtained hardware/polaris.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 b49f59235345c771b17cc7d5a37dbdec2d22fdfc
The recommended git tool is: NONE
using credential gitlab_weilk
> git rev-parse --resolve-git-dir /var/lib/jenkins/workspace/polaris@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 b49f59235345c771b17cc7d5a37dbdec2d22fdfc (master)
> git config core.sparsecheckout # timeout=10
> git checkout -f b49f59235345c771b17cc7d5a37dbdec2d22fdfc # timeout=10
Commit message: "Update orinModule64Choice.groovy"
> git rev-list --no-walk b49f59235345c771b17cc7d5a37dbdec2d22fdfc # timeout=10
[Pipeline] Start of Pipeline
[Pipeline] echo
null
[Pipeline] echo
null
[Pipeline] node
Running on Jenkins in /var/lib/jenkins/workspace/polaris
[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/polaris/.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 1ee6a9e9a4d70e4a359694ced3ca12052d79bfab (refs/remotes/origin/master)
> git config core.sparsecheckout # timeout=10
> git checkout -f 1ee6a9e9a4d70e4a359694ced3ca12052d79bfab # timeout=10
Commit message: "Update tc397_ota.jenkinsfile"
> git rev-list --no-walk 1ee6a9e9a4d70e4a359694ced3ca12052d79bfab # timeout=10
[Pipeline] }
[Pipeline] // stage
[Pipeline] withEnv
[Pipeline] {
[Pipeline] withEnv
[Pipeline] {
[Pipeline] stage
[Pipeline] { (checkout)
[Pipeline] script
[Pipeline] {
[Pipeline] echo
v3.0
[Pipeline] ansiColor
[Pipeline] {
[Pipeline] echo
>>>>>>>>>>拉取polaris>>>>>>>>>>
[Pipeline] }
[Pipeline] // ansiColor
[Pipeline] sh
+ rm -rf /root/workspace/polaris/polaris /root/workspace/polaris/polaris_2026-09-15_20-37-04 /root/workspace/polaris/polaris_2026-09-15_20-37-04.zip /root/workspace/polaris/polaris@tmp /root/workspace/polaris/version.json
+ mkdir /root/workspace/polaris/polaris/
[Pipeline] dir
Running in /root/workspace/polaris/polaris
[Pipeline] {
[Pipeline] checkout
The recommended git tool is: NONE
using credential gitlab_ota
Cloning the remote Git repository
Cloning repository http://159.27.226.4/hardware/polaris.git
> git init /root/workspace/polaris/polaris # timeout=10
Fetching upstream changes from http://159.27.226.4/hardware/polaris.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/hardware/polaris.git +refs/heads/*:refs/remotes/origin/* # timeout=10
> git config remote.origin.url http://159.27.226.4/hardware/polaris.git # timeout=10
> git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
Avoid second fetch
> git rev-parse origin/v3.0^{commit} # timeout=10
Checking out Revision 002445aeece63b2d89cf854284a2b68fb0120dd0 (origin/v3.0)
> git config core.sparsecheckout # timeout=10
> git checkout -f 002445aeece63b2d89cf854284a2b68fb0120dd0 # timeout=10
Commit message: "feat_out: v3.0 修复时间跳,切换时间文件夹的bug."
> git rev-list --no-walk 002445aeece63b2d89cf854284a2b68fb0120dd0 # timeout=10
[Pipeline] }
[Pipeline] // dir
[Pipeline] sh
+ rm -rf /root/workspace/polaris@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] readJSON
[Pipeline] withCredentials
Masking supported pattern matches of $gitlabToken
[Pipeline] {
[Pipeline] httpRequest
Warning: A secret was passed to "httpRequest" using Groovy String interpolation, which is insecure.
Affected argument(s) used the following variable(s): [gitlabToken]
See https://jenkins.io/redirect/groovy-string-interpolation for details.
HttpMethod: GET
URL: http://159.27.226.4/api/v4/projects?search=polaris&per_page=100
Content-Type: application/json
PRIVATE-TOKEN: *****
Sending request to url: http://159.27.226.4/api/v4/projects?search=polaris&per_page=100
Response Code: HTTP/1.1 200 OK
Response:
[{"id":527,"description":"","name":"polaris","name_with_namespace":"Hardware / polaris","path":"polaris","path_with_namespace":"hardware/polaris","created_at":"2023-01-30T03:34:42.526Z","default_branch":"master","tag_list":[],"topics":[],"ssh_url_to_repo":"git@159.27.226.4:hardware/polaris.git","http_url_to_repo":"http://159.27.226.4/hardware/polaris.git","web_url":"http://159.27.226.4/hardware/polaris","readme_url":null,"avatar_url":null,"forks_count":0,"star_count":0,"last_activity_at":"2026-09-15T12:36:50.868Z","namespace":{"id":13,"name":"Hardware","path":"hardware","kind":"group","full_path":"hardware","parent_id":null,"avatar_url":null,"web_url":"http://159.27.226.4/groups/hardware"},"_links":{"self":"http://159.27.226.4/api/v4/projects/527","issues":"http://159.27.226.4/api/v4/projects/527/issues","merge_requests":"http://159.27.226.4/api/v4/projects/527/merge_requests","repo_branches":"http://159.27.226.4/api/v4/projects/527/repository/branches","labels":"http://159.27.226.4/api/v4/projects/527/labels","events":"http://159.27.226.4/api/v4/projects/527/events","members":"http://159.27.226.4/api/v4/projects/527/members","cluster_agents":"http://159.27.226.4/api/v4/projects/527/cluster_agents"},"packages_enabled":true,"empty_repo":false,"archived":false,"visibility":"private","resolve_outdated_diff_discussions":false,"container_expiration_policy":{"cadence":"1d","enabled":false,"keep_n":10,"older_than":"90d","name_regex":".*","name_regex_keep":null,"next_run_at":"2023-01-31T03:34:42.574Z"},"issues_enabled":true,"merge_requests_enabled":true,"wiki_enabled":true,"jobs_enabled":true,"snippets_enabled":true,"container_registry_enabled":true,"service_desk_enabled":false,"service_desk_address":null,"can_create_merge_request_in":true,"issues_access_level":"enabled","repository_access_level":"enabled","merge_requests_access_level":"enabled","forking_access_level":"enabled","wiki_access_level":"enabled","builds_access_level":"enabled","snippets_access_level":"enabled","pages_access_level":"private","operations_access_level":"enabled","analytics_access_level":"enabled","container_registry_access_level":"enabled","security_and_compliance_access_level":"private","emails_disabled":null,"shared_runners_enabled":true,"lfs_enabled":true,"creator_id":6,"import_url":null,"import_type":null,"import_status":"none","open_issues_count":0,"ci_default_git_depth":20,"ci_forward_deployment_enabled":true,"ci_job_token_scope_enabled":false,"ci_separated_caches":true,"public_jobs":true,"build_timeout":3600,"auto_cancel_pending_pipelines":"enabled","build_coverage_regex":null,"ci_config_path":null,"shared_with_groups":[],"only_allow_merge_if_pipeline_succeeds":false,"allow_merge_on_skipped_pipeline":null,"restrict_user_defined_variables":false,"request_access_enabled":true,"only_allow_merge_if_all_discussions_are_resolved":false,"remove_source_branch_after_merge":true,"printing_merge_request_link_enabled":true,"merge_method":"merge","squash_option":"default_off","enforce_auth_checks_on_uploads":true,"suggestion_commit_message":null,"merge_commit_template":null,"squash_commit_template":null,"auto_devops_enabled":false,"auto_devops_deploy_strategy":"continuous","autoclose_referenced_issues":true,"keep_latest_artifact":true,"runner_token_expiration_interval":null,"permissions":{"project_access":{"access_level":40,"notification_level":3},"group_access":null}}]
Success: Status code 200 is in the accepted range: 100:399
[Pipeline] }
[Pipeline] // withCredentials
[Pipeline] readJSON
[Pipeline] echo
hardware/polaris
[Pipeline] echo
527
[Pipeline] echo
527
[Pipeline] dir
Running in /root/workspace/polaris
[Pipeline] {
[Pipeline] dir
Running in /root/workspace/polaris/polaris
[Pipeline] {
[Pipeline] sh
+ echo -n '{"module":['
[Pipeline] sh
+ git rev-parse --short HEAD
[Pipeline] sh
+ python3 /root/weilk/project/get_git_now.py 527 002445a
[Pipeline] echo
"device":1,"device_name":"none","type":1,"project":"0"
[Pipeline] sh
+ echo -n '{"repo_name":"polaris","branch":"v3.0","port":"hairun","time":"2026-09-16_16-29-30","commit_id":"002445a","version":"","commit_msgs":",IHYzLjAg5L+u5aSN5pe26Ze06LezLOWIh+aNouaXtumXtOaWh+S7tuWkueeahGJ1Zy4=,"}],"device":1,"device_name":"none","type":1,"project":"0"}'
[Pipeline] sh
+ cat /root/workspace/polaris/version.json
{"module":[{"repo_name":"polaris","branch":"v3.0","port":"hairun","time":"2026-09-16_16-29-30","commit_id":"002445a","version":"","commit_msgs":",IHYzLjAg5L+u5aSN5pe26Ze06LezLOWIh+aNouaXtumXtOaWh+S7tuWkueeahGJ1Zy4=,"}],"device":1,"device_name":"none","type":1,"project":"0"}
[Pipeline] }
[Pipeline] // dir
[Pipeline] sh
+ cp -r polaris/ polaris_2026-09-16_16-29-35/
[Pipeline] sh
+ rm -rf polaris_2026-09-16_16-29-35/.git/
[Pipeline] sh
+ zip -rq polaris_2026-09-16_16-29-35.zip ./polaris_2026-09-16_16-29-35/ ./version.json
[Pipeline] sh
+ ls /root/workspace/polaris/
polaris
polaris_2026-09-16_16-29-35
polaris_2026-09-16_16-29-35.zip
polaris@tmp
version.json
[Pipeline] sh
+ curl -X POST http://127.0.0.1:8090/otaUploadFileAndVersion --form 'Content-Type="multipart/form-data"' --form 'file=@"/root/workspace/polaris/polaris_2026-09-16_16-29-35.zip"' --form 'version=@"/root/workspace/polaris/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 11.2M 0 43 100 11.2M 70 18.5M --:--:-- --:--:-- --:--:-- 18.5M
[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] sh
+ curl -X POST http://61.153.150.243:2200/ota-api/otaUploadFileAndVersion --form 'Content-Type="multipart/form-data"' --form 'file=@"/root/workspace/polaris/polaris_2026-09-16_16-29-35.zip"' --form 'version=@"/root/workspace/polaris/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
17 11.2M 0 0 17 1984k 0 2576k 0:00:04 --:--:-- 0:00:04 2573k
39 11.2M 0 0 39 4544k 0 2542k 0:00:04 0:00:01 0:00:03 2541k
60 11.2M 0 0 60 7040k 0 2534k 0:00:04 0:00:02 0:00:02 2533k
82 11.2M 0 0 82 9536k 0 2530k 0:00:04 0:00:03 0:00:01 2530k
100 11.2M 0 0 100 11.2M 0 2071k 0:00:05 0:00:05 --:--:-- 2071k
100 11.2M 0 0 100 11.2M 0 1756k 0:00:06 0:00:06 --:--:-- 1648k
100 11.2M 0 0 100 11.2M 0 1524k 0:00:07 0:00:07 --:--:-- 1211k
100 11.2M 0 0 100 11.2M 0 1347k 0:00:08 0:00:08 --:--:-- 779k
100 11.2M 0 0 100 11.2M 0 1206k 0:00:09 0:00:09 --:--:-- 349k
100 11.2M 0 0 100 11.2M 0 1092k 0:00:10 0:00:10 --:--:-- 0
100 11.2M 0 0 100 11.2M 0 998k 0:00:11 0:00:11 --:--:-- 0
100 11.2M 0 0 100 11.2M 0 918k 0:00:12 0:00:12 --:--:-- 0
100 11.2M 0 0 100 11.2M 0 851k 0:00:13 0:00:13 --:--:-- 0
100 11.2M 0 0 100 11.2M 0 792k 0:00:14 0:00:14 --:--:-- 0
100 11.2M 0 0 100 11.2M 0 741k 0:00:15 0:00:15 --:--:-- 0
100 11.2M 0 0 100 11.2M 0 697k 0:00:16 0:00:16 --:--:-- 0
100 11.2M 0 0 100 11.2M 0 657k 0:00:17 0:00:17 --:--:-- 0
100 11.2M 0 0 100 11.2M 0 622k 0:00:18 0:00:18 --:--:-- 0
100 11.2M 0 0 100 11.2M 0 590k 0:00:19 0:00:19 --:--:-- 0
100 11.2M 0 0 100 11.2M 0 561k 0:00:20 0:00:20 --:--:-- 0
100 11.2M 0 43 100 11.2M 2 541k 0:00:21 0:00:21 --:--:-- 9
100 11.2M 0 43 100 11.2M 2 541k 0:00:21 0:00:21 --:--:-- 11
[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] sh
+ curl -X POST http://172.16.110.138:50080/ota-api/otaUploadFileAndVersion --form 'Content-Type="multipart/form-data"' --form 'file=@"/root/workspace/polaris/polaris_2026-09-16_16-29-35.zip"' --form 'version=@"/root/workspace/polaris/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
22 11.2M 0 0 22 2624k 0 2858k 0:00:04 --:--:-- 0:00:04 2855k
54 11.2M 0 0 54 6336k 0 3319k 0:00:03 0:00:01 0:00:02 3317k
90 11.2M 0 0 90 10.1M 0 3577k 0:00:03 0:00:02 0:00:01 3576k
100 11.2M 0 43 100 11.2M 11 3081k 0:00:03 0:00:03 --:--:-- 3081k
[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] sh
+ curl -X POST http://172.16.110.148:60180/ota-api/otaUploadFileAndVersion --form 'Content-Type="multipart/form-data"' --form 'file=@"/root/workspace/polaris/polaris_2026-09-16_16-29-35.zip"' --form 'version=@"/root/workspace/polaris/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
17 11.2M 0 0 17 1984k 0 2312k 0:00:05 --:--:-- 0:00:05 2312k
58 11.2M 0 0 58 6720k 0 3574k 0:00:03 0:00:01 0:00:02 3574k
100 11.2M 0 0 100 11.2M 0 4047k 0:00:02 0:00:02 --:--:-- 4047k
100 11.2M 0 0 100 11.2M 0 2997k 0:00:03 0:00:03 --:--:-- 2997k
100 11.2M 0 0 100 11.2M 0 2380k 0:00:04 0:00:04 --:--:-- 2380k
100 11.2M 0 0 100 11.2M 0 1973k 0:00:05 0:00:05 --:--:-- 1915k
100 11.2M 0 0 100 11.2M 0 1685k 0:00:06 0:00:06 --:--:-- 972k
100 11.2M 0 0 100 11.2M 0 1471k 0:00:07 0:00:07 --:--:-- 0
100 11.2M 0 0 100 11.2M 0 1305k 0:00:08 0:00:08 --:--:-- 0
100 11.2M 0 0 100 11.2M 0 1172k 0:00:09 0:00:09 --:--:-- 0
100 11.2M 0 0 100 11.2M 0 1064k 0:00:10 0:00:10 --:--:-- 0
100 11.2M 0 0 100 11.2M 0 974k 0:00:11 0:00:11 --:--:-- 0
100 11.2M 0 0 100 11.2M 0 899k 0:00:12 0:00:12 --:--:-- 0
100 11.2M 0 43 100 11.2M 3 855k 0:00:13 0:00:13 --:--:-- 9
[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] sh
+ curl -X POST http://172.16.110.145:50080/ota-api/otaUploadFileAndVersion --form 'Content-Type="multipart/form-data"' --form 'file=@"/root/workspace/polaris/polaris_2026-09-16_16-29-35.zip"' --form 'version=@"/root/workspace/polaris/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
23 11.2M 0 0 23 2688k 0 2983k 0:00:03 --:--:-- 0:00:03 2980k
51 11.2M 0 0 51 5952k 0 3160k 0:00:03 0:00:01 0:00:02 3159k
79 11.2M 0 0 79 9216k 0 3175k 0:00:03 0:00:02 0:00:01 3174k
100 11.2M 0 0 100 11.2M 0 2442k 0:00:04 0:00:04 --:--:-- 2442k
100 11.2M 0 0 100 11.2M 0 2016k 0:00:05 0:00:05 --:--:-- 2016k
100 11.2M 0 0 100 11.2M 0 1716k 0:00:06 0:00:06 --:--:-- 1521k
100 11.2M 0 0 100 11.2M 0 1494k 0:00:07 0:00:07 --:--:-- 959k
100 11.2M 0 0 100 11.2M 0 1323k 0:00:08 0:00:08 --:--:-- 402k
100 11.2M 0 0 100 11.2M 0 1187k 0:00:09 0:00:09 --:--:-- 0
100 11.2M 0 0 100 11.2M 0 1076k 0:00:10 0:00:10 --:--:-- 0
100 11.2M 0 0 100 11.2M 0 985k 0:00:11 0:00:11 --:--:-- 0
100 11.2M 0 0 100 11.2M 0 907k 0:00:12 0:00:12 --:--:-- 0
100 11.2M 0 0 100 11.2M 0 841k 0:00:13 0:00:13 --:--:-- 0
100 11.2M 0 0 100 11.2M 0 784k 0:00:14 0:00:14 --:--:-- 0
100 11.2M 0 0 100 11.2M 0 734k 0:00:15 0:00:15 --:--:-- 0
100 11.2M 0 0 100 11.2M 0 690k 0:00:16 0:00:16 --:--:-- 0
100 11.2M 0 0 100 11.2M 0 651k 0:00:17 0:00:17 --:--:-- 0
100 11.2M 0 0 100 11.2M 0 616k 0:00:18 0:00:18 --:--:-- 0
100 11.2M 0 43 100 11.2M 2 599k 0:00:19 0:00:19 --:--:-- 9
100 11.2M 0 43 100 11.2M 2 599k 0:00:19 0:00:19 --:--:-- 12
[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] sh
+ curl -X POST http://183.255.70.81:50080/ota-api/otaUploadFileAndVersion --form 'Content-Type="multipart/form-data"' --form 'file=@"/root/workspace/polaris/polaris_2026-09-16_16-29-35.zip"' --form 'version=@"/root/workspace/polaris/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
1 11.2M 0 0 1 128k 0 640k 0:00:18 --:--:-- 0:00:18 636k
100 11.2M 0 0 100 11.2M 0 5787k 0:00:01 0:00:01 --:--:-- 5784k
100 11.2M 0 0 100 11.2M 0 3857k 0:00:02 0:00:02 --:--:-- 3856k
100 11.2M 0 0 100 11.2M 0 2891k 0:00:04 0:00:04 --:--:-- 2891k
100 11.2M 0 0 100 11.2M 0 2312k 0:00:05 0:00:05 --:--:-- 2312k
100 11.2M 0 0 100 11.2M 0 1927k 0:00:06 0:00:06 --:--:-- 1972k
100 11.2M 0 0 100 11.2M 0 1651k 0:00:07 0:00:07 --:--:-- 0
100 11.2M 0 0 100 11.2M 0 1445k 0:00:08 0:00:08 --:--:-- 0
100 11.2M 0 0 100 11.2M 0 1284k 0:00:09 0:00:09 --:--:-- 0
100 11.2M 0 0 100 11.2M 0 1156k 0:00:10 0:00:10 --:--:-- 0
100 11.2M 0 0 100 11.2M 0 1051k 0:00:11 0:00:11 --:--:-- 0
100 11.2M 0 43 100 11.2M 3 967k 0:00:11 0:00:11 --:--:-- 8
100 11.2M 0 43 100 11.2M 3 967k 0:00:11 0:00:11 --:--:-- 10
[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] sh
+ curl -X POST http://159.27.114.184:31018/ota-api/otaUploadFileAndVersion --form 'Content-Type="multipart/form-data"' --form 'file=@"/root/workspace/polaris/polaris_2026-09-16_16-29-35.zip"' --form 'version=@"/root/workspace/polaris/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
92 11.2M 0 0 92 10.5M 0 10.8M 0:00:01 --:--:-- 0:00:01 10.8M
100 11.2M 0 0 100 11.2M 0 5553k 0:00:02 0:00:02 --:--:-- 5556k
100 11.2M 0 43 100 11.2M 18 5040k 0:00:02 0:00:02 --:--:-- 5040k
[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] sh
+ curl -X POST http://159.27.114.184:35918/ota-api/otaUploadFileAndVersion --form 'Content-Type="multipart/form-data"' --form 'file=@"/root/workspace/polaris/polaris_2026-09-16_16-29-35.zip"' --form 'version=@"/root/workspace/polaris/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
21 11.2M 0 0 21 2496k 0 8577k 0:00:01 --:--:-- 0:00:01 8547k
65 11.2M 0 0 65 7552k 0 5699k 0:00:02 0:00:01 0:00:01 5695k
88 11.2M 0 0 88 10.0M 0 4376k 0:00:02 0:00:02 --:--:-- 4374k
100 11.2M 0 0 100 11.2M 0 3055k 0:00:03 0:00:03 --:--:-- 3054k
100 11.2M 0 0 100 11.2M 0 2416k 0:00:04 0:00:04 --:--:-- 2416k
100 11.2M 0 0 100 11.2M 0 1998k 0:00:05 0:00:05 --:--:-- 1650k
100 11.2M 0 0 100 11.2M 0 1704k 0:00:06 0:00:06 --:--:-- 735k
100 11.2M 0 0 100 11.2M 0 1485k 0:00:07 0:00:07 --:--:-- 243k
100 11.2M 0 0 100 11.2M 0 1315k 0:00:08 0:00:08 --:--:-- 0
100 11.2M 0 0 100 11.2M 0 1181k 0:00:09 0:00:09 --:--:-- 0
100 11.2M 0 0 100 11.2M 0 1071k 0:00:10 0:00:10 --:--:-- 0
100 11.2M 0 0 100 11.2M 0 980k 0:00:11 0:00:11 --:--:-- 0
100 11.2M 0 0 100 11.2M 0 904k 0:00:12 0:00:12 --:--:-- 0
100 11.2M 0 0 100 11.2M 0 838k 0:00:13 0:00:13 --:--:-- 0
100 11.2M 0 0 100 11.2M 0 781k 0:00:14 0:00:14 --:--:-- 0
100 11.2M 0 0 100 11.2M 0 732k 0:00:15 0:00:15 --:--:-- 0
100 11.2M 0 0 100 11.2M 0 688k 0:00:16 0:00:16 --:--:-- 0
100 11.2M 0 0 100 11.2M 0 649k 0:00:17 0:00:17 --:--:-- 0
100 11.2M 0 0 100 11.2M 0 615k 0:00:18 0:00:18 --:--:-- 0
100 11.2M 0 0 100 11.2M 0 584k 0:00:19 0:00:19 --:--:-- 0
100 11.2M 0 0 100 11.2M 0 556k 0:00:20 0:00:20 --:--:-- 0
100 11.2M 0 43 100 11.2M 2 546k 0:00:21 0:00:21 --:--:-- 9
[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] dir
Running in /root/workspace/polaris/polaris
[Pipeline] {
[Pipeline] sh
+ git rev-parse --short HEAD
[Pipeline] readJSON
[Pipeline] echo
{"project":{"polaris":"hardware/polaris"},"commit":{"polaris":"c694363"}}
[Pipeline] sh
+ echo '{"project":{"polaris":"hardware/polaris"},"commit":{"polaris":"002445a"}}'
[Pipeline] }
[Pipeline] // dir
[Pipeline] sh
+ rm -rf /root/workspace/polaris/polaris@tmp
[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": "# 版本上传通知
### [polaris更新]
---
- 版本名:polaris_2026-09-16_16-29-35
- 详细信息:v3.0
- 状态:<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 445 100 27 100 418 402 6238 --:--:-- --:--:-- --:--:-- 6641
[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