好的,我终于解决了我的问题!:)
在Google Cloud Shell中,我运行了:
PASSWORD=###%%%&&& # 12 or more chars, with letters and numbersPROJECT_ID=**PROJECT**BITNAMI_IMAGE=bitnami-jenkins-1-634-0-linux-debian-7-x86-64 # e.g. bitnami-jenkins-1-606-0-linux-debian-7-x86-64gcloud compute instances create bitnami-jenkins2 --project ${PROJECT_ID} --image-project bitnami-launchpad --image ${BITNAMI_IMAGE} --zone us-central1-b --machine-type g1-small --metadata "bitnami-base-password=${PASSWORD},bitnami-default-user=CHANGEUSERNAMEHERE,bitnami-key=jenkins,bitnami-name=Jenkins,bitnami-url=//bitnami.com/stack/jenkins,bitnami-description=Jenkins,startup-script-url=https://dl.google.com/dl/jenkins/p2dsetup/setup-script.sh" --scopes "https://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/userinfo.email,https://www.googleapis.com/auth/compute,https://www,googleapis.com/auth/cloud.useraccounts,https://www.googleapis.com/auth/logging.write,https://www.googleapis.com/auth/devstorage.full_control,https://www.googleapis.com/auth/projecthosting,https://www.googleapis.com/auth/appengine.admin" --tags "bitnami-launchpad"这创建了我的VM,但是使用了错误的用户,因为我通过上面的命令更改了用户名(无论如何,它都是使用“用户”创建的)。因此,我必须找到我的config.xml并将所有权限的用户名更改为正确的名称,并更新密码,并将默认用户名文件夹“ user”的文件夹重命名为我选择的用户名。
在那之后我几乎就在那里了,我缺少了一个必须启用的API。我去了 API和验证] > [API的云中的控制台,但找不到 AppEngine管理API我被放倒约在这里通过扎卡里(再次感谢花花公子!),但我已经错过了,你可以搜索超过100层的API和那些显示的不是唯一可用的,所以最终我找到了它。
我还必须为gcloud命令安装一些组件,这可以通过SSH进入虚拟机来完成。我安装了[preview]和[app]组件,以及更新了所有其他默认gcloud组件。
我的部署刚刚通过并更新了我的应用,非常感谢您的所有帮助!



