CloudBees的:App Engine的部署失败(Cloudbees: App Engine D

2019-10-19 08:54发布

从CloudBees的DEV @云詹金斯情况下部署到GAE时奇怪的错误:

[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

现在,这个用来工作。 我安装节点作为我的测试脚本的一部分,所以詹金斯可以使用casperjs和幻像来运行测试套件。 然而,应用程序本身不使用节点(这是Python的,在谷歌App引擎)。 这两个相关的行似乎是

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.

我不明白是怎么找的路径,或为什么会需要为节点的SDK。 (我认为“节点”也并不意味着“的NodeJS”我认为它的意思是“这个节点是詹金斯在其上运行,即一台计算机”)。

那么,为什么不能部署者找到一个SDK? 更重要的是,我该如何解决?

Answer 1:

AppEngine上SDK 1.7不再支持,并从构建奴隶已被删除。 更改詹金斯实例配置使用1.8 SDK



文章来源: Cloudbees: App Engine Deployment failing