Cloudbees: App Engine Deployment failing

≡放荡痞女 提交于 2019-12-13 00:10:57

问题


Strange error when deploying to GAE from Cloudbees DEV@cloud Jenkins instances:

[cloudbees-deployer] Deploying as stuart.langridge@PROJECTNAME.com to Google App Engine
[cloudbees-deployer] Deploying PROJECTNAME
[cloudbees-deployer]   Resolved from workspace as /scratch/jenkins/workspace/PROJECTNAME/PROJECTNAME
ERROR: Couldn't find path for tool 'GAE Python SDK 1.7 (latest)' 
com.cloudbees.plugins.deployer.exceptions.DeployException: No {0} SDK available for node.
    at com.cloudbees.plugins.deployer.impl.google.PythonEngineImpl$DeployActorImpl.<init>(PythonEngineImpl.java:224)
    at com.cloudbees.plugins.deployer.impl.google.PythonEngineImpl.newDeployActor(PythonEngineImpl.java:62)
    at com.cloudbees.plugins.deployer.impl.google.PythonEngineImpl.newDeployActor(PythonEngineImpl.java:44)
    at com.cloudbees.plugins.deployer.engines.Engine.process(Engine.java:159)
    at com.cloudbees.plugins.deployer.engines.Engine.perform(Engine.java:100)
    at com.cloudbees.plugins.deployer.DeployBuilder.perform(DeployBuilder.java:85)
    at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
    at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:791)
    at hudson.model.Build$BuildExecution.build(Build.java:199)
    at hudson.model.Build$BuildExecution.doRun(Build.java:160)
    at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:572)
    at hudson.model.Run.execute(Run.java:1665)
    at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
    at hudson.model.ResourceController.execute(ResourceController.java:88)
    at hudson.model.Executor.run(Executor.java:246)
Build step 'Deploy applications' marked build as failure
Recording test results

Now, this used to work. I install node as part of my test scripts, so Jenkins can use casperjs and phantom to run the test suite. However, the app itself doesn't use node (it's Python, on Google App Engine). The two relevant lines seem to be

ERROR: Couldn't find path for tool 'GAE Python SDK 1.7 (latest)' 
com.cloudbees.plugins.deployer.exceptions.DeployException: No {0} SDK available for node.

and I do not understand what's looking for a path, or why there'd be an SDK needed for node. (I think that "node" there does not mean "nodejs"; I think it means "this node that Jenkins is running on; i.e., a computer".)

So, why can't the deployer find an SDK? More importantly, how can I fix it?


回答1:


AppEngine SDK 1.7 isn't supported anymore, and has been removed from build slaves. Change your jenkins instance configuration to use the 1.8 SDK



来源:https://stackoverflow.com/questions/21784491/cloudbees-app-engine-deployment-failing

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!