1
這是here的問題。Jenkins - 推送部署到Google App Engine的部署失敗
所以我設法讓python測試運行。我已經使用push部署來自谷歌
guide我執行一個shell命令配置如下詹金斯:
gcloud --project=cfc-melbourne-website preview app deploy app.yaml
我收到以下錯誤
[workspace] $ /bin/sh -xe /opt/bitnami/apache-tomcat/temp/hudson678919665445088696.sh
+ gcloud --project=cfc-melbourne-website preview app deploy app.yaml
WARNING: The [application] field is specified in file [/opt/bitnami/apps/jenkins/jenkins_home/jobs/CFC Melbourne production pipeline/workspace/app.yaml]. This field is not used by gcloud and should be removed.
WARNING: The [version] field is specified in file [/opt/bitnami/apps/jenkins/jenkins_home/jobs/CFC Melbourne production pipeline/workspace/app.yaml]. This field is not used by gcloud and should be removed.
ERROR: The version [1] declared in [/opt/bitnami/apps/jenkins/jenkins_home/jobs/CFC Melbourne production pipeline/workspace/app.yaml] does not match the current gcloud version [20150509t012658].
ERROR: (gcloud.preview.app.deploy) Errors occurred while parsing the App Engine app configuration.
Build step 'Execute shell' marked build as failure
Finished: FAILURE
請幫助。謝謝。
app.yaml中的內容可以看出here
請顯示您的app.yaml。 –
我已將它添加到主帖子中。 –
試試這樣做「gcloud預覽app部署目錄--project cfc-melbourne-website」添加包含yaml文件的目錄名稱。 給你的提示。 app.yaml文件中的應用程序字段已棄用,gcloud未使用該字段。相反,請確保您的Google Developers Console項目名稱已在gcloud config中正確設置。來自https://cloud.google.com/sdk/gcloud-app的參考 –