简体   繁体   中英

How to download application from Google Cloud Platform Java Flexible Environment

I am trying to download Application from GCP using this link: Downloading Your Application . But it looks like this works only for the Standard environment cos code executes without errors but nothing is actually downloaded after. Output is:

AM Host: appengine.google.com
AM Fetching file list...
AM Fetching files...

What will be the solution to achieve the same result in Flexible environment?

When you deploy an App Engine Flexible application, the source code is uploaded to Cloud Storage on your project in a bucket named staging..appspot.com. You can navigate in this bucket and download the source code for a specific version as a .tar file.

Alternatively, you can find the exact Cloud Storage URL for your source code by going to Dev Console > Container Registry > Build History and select the build for your version. You'll find the link to your source code under Build Information.

One thing to note however is that the staging... bucket is created by default with a Lifecycle rule that deletes files older than 15 days automatically. You can delete this rule if you want so that all versions' source code is kept indefinitely.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM