遇到问题--scala-gradle--Connect to jcenter.bintray.com:443 [jcenter.bintray.com/34.95.74.180] failed: co
Posted 张小凡vip
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了遇到问题--scala-gradle--Connect to jcenter.bintray.com:443 [jcenter.bintray.com/34.95.74.180] failed: co相关的知识,希望对你有一定的参考价值。
情况
项目编译使用gradle进行打包,之前都能正常运行,在没有改动的情况下, 突然报错gradle命令无法成功构建。
在ci文件中使用方式如下:
deploy-test:
image: 123.dkr.ecr.cn-northwest-1.amazonaws.com.cn/operation/gradle:4.8_awscli
stage: deploy-test
script:
- gradle shadowJar
- /home/gradle/bin/aws s3 cp build/libs/discovery-*-all.jar s3:/test-operation/test/jar/
artifacts:
paths:
- build/libs/discovery-*-all.jar
cache:
key: "$CI_COMMIT_REF_NAME"
policy: pull
paths:
- build
- .gradle
except:
- /^v.*$/
tags:
- eks-beta-k8s
报错如下:
Welcome to Gradle 4.8.1!
Here are the highlights of this release:
- Dependency locking
- Maven Publish and Ivy Publish plugins improved and marked stable
- Incremental annotation processing enhancements
- APIs to configure tasks at creation time
For more details see https://docs.gradle.org/4.8.1/release-notes.html
Download https://plugins.gr
以上是关于遇到问题--scala-gradle--Connect to jcenter.bintray.com:443 [jcenter.bintray.com/34.95.74.180] failed: co的主要内容,如果未能解决你的问题,请参考以下文章