收藏
回答

一直部署失败,怎么回事?

代码托管在Gitee上面,以前用腾讯云托管能发布。现在微信云托管一直部署失败。



部署开始于 2022-10-27 17:52:57


AppID: wx46b44984923b1dad

环境名称:openmis-7gigzy95789021aa


[1/2] 执行流水线    进行中 预计需要 2 分钟... \

[2022-10-27 17:53:04] Started by user coding

[2022-10-27 17:53:04] Running in Durability level: MAX_SURVIVABILITY

[2022-10-27 17:53:05] [Pipeline] Start of Pipeline

[2022-10-27 17:53:05] [Pipeline] node

[2022-10-27 17:53:05] Running on Jenkins in /root/workspace

[2022-10-27 17:53:05] [Pipeline] {

[2022-10-27 17:53:05] [Pipeline] stage

[2022-10-27 17:53:05] [Pipeline] { (检出 ZIP 包)

[2022-10-27 17:53:05] Stage "检出 ZIP 包" skipped due to when conditional

[2022-10-27 17:53:05] [Pipeline] }

[2022-10-27 17:53:05] [Pipeline] // stage

[2022-10-27 17:53:06] [Pipeline] stage

[2022-10-27 17:53:06] [Pipeline] { (检出代码仓库)

[2022-10-27 17:53:06] [Pipeline] sh

[2022-10-27 17:53:06] + git clone ****** .

[2022-10-27 17:53:06] Cloning into '.'...

[2022-10-27 17:53:14] [Pipeline] sh

[2022-10-27 17:53:14] + git checkout master

[2022-10-27 17:53:14] Already on 'master'

[2022-10-27 17:53:14] Your branch is up-to-date with 'origin/master'.

[2022-10-27 17:53:14] [Pipeline] }

[2022-10-27 17:53:14] [Pipeline] // stage

[2022-10-27 17:53:14] [Pipeline] stage

[2022-10-27 17:53:14] [Pipeline] { (构建 Docker 镜像)

[2022-10-27 17:53:14] [Pipeline] sh

[2022-10-27 17:53:14] + docker login -u ****** -p ****** ccr.ccs.tencentyun.com/tcb-******-gckb/ca-suldfelq_openmis:openmis-004-20221027175301

[2022-10-27 17:53:14] WARNING! Using --password via the CLI is insecure. Use --password-stdin.

[2022-10-27 17:53:32] Error response from daemon: Get https://ccr.ccs.tencentyun.com/v2/: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)

[2022-10-27 17:53:32] [Pipeline] }

[2022-10-27 17:53:32] [Pipeline] // stage

[2022-10-27 17:53:33] [Pipeline] stage

[2022-10-27 17:53:33] [Pipeline] { (推送 Docker 镜像到 TCR)

[2022-10-27 17:53:33] Stage "推送 Docker 镜像到 TCR" skipped due to earlier failure(s)

[2022-10-27 17:53:33] [Pipeline] }

[2022-10-27 17:53:33] [Pipeline] // stage

[2022-10-27 17:53:33] [Pipeline] }

[2022-10-27 17:53:33] [Pipeline] // node

[2022-10-27 17:53:33] [Pipeline] End of Pipeline

[2022-10-27 17:53:33] ERROR: script returned exit code 1

[2022-10-27 17:53:33] Finished: FAILURE

***

-----------构建openmis-004-----------

2022-10-27 17:53:03 create_build_image : succ,



回答关注问题邀请回答
收藏

2 个回答

  • 菱果君
    菱果君
    2023-04-28

    主要注意的有

    1:dockfile的位置 (与代码文件的相对位置,重要)

    2:代码路径中不要出现中文

    2023-04-28
    有用
    回复
  • Eason Six
    Eason Six
    2022-12-20

    怎么解决的?同遇到

    2022-12-20
    有用
    回复
登录 后发表内容
问题标签