Google App Engine部署出错,如何将gcloud --no-cache传入Maven App Engine插件?
问题:Google App Engine部署失败,需在Maven App Engine插件中传入--no-cache参数
环境与问题背景
- App Engine Standard 环境
- Java 17 运行时
- 使用捆绑API
- Maven App Engine插件版本:2.4.4、2.5.0
- gcloud CLI版本:452.0.0
- 该部署任务数月前可正常执行,当前触发部署时失败
Cloud Build报错详情
Step #2 - "build": ERROR: failed to initialize analyzer: getting previous image: getting config file for image "eu.gcr.io/PROJECTID/app-engine-tmp/app/default/ttl-18h:latest": GET https://storage.googleapis.com/eu.artifacts.PROJECTID.appspot.com/containers/images/sha256:036aff03ac31731663e8aee494f16b733e1c56e31b329b9db470007802a361e7?access_token=REDACTED: unexpected status code 404 Not Found: NoSuchKeyThe specified key does not exist.No such object: eu.artifacts.PROJECTID.appspot.com/containers/images/sha256:036aff03ac31731663e8aee494f16b733e1c56e31b329b9db470007802a361e7 Finished Step #2 - "build" ERROR ERROR: build step 2 "eu.gcr.io/gae-runtimes/buildpacks/google-gae-22/java/builder:java_20231016_RC00" failed: step exited with non-zero status: 1
需求
需实现将gcloud --no-cache参数传入Maven App Engine插件的方法,以尝试解决上述部署失败问题。
内容的提问来源于stack exchange,提问作者MuadDib
相关产品推荐
相关产品推荐

