在使用jenkins的cloudbees中构建play framework应用程序时出错:不支持部署类型:zip [英] Error when building play framework app in cloudbees with jenkins: Deployment type not supported: zip

查看:119
本文介绍了在使用jenkins的cloudbees中构建play framework应用程序时出错:不支持部署类型:zip的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经使用播放框架创建了一个简单的应用程序,并希望将其部署到cloudbees.

I have created a simple app using play framework and want to deploy it to cloudbees.

我按照此处的说明进行操作:

I followed the instructions here:

http://developer.cloudbees.com/bin/view/RUN/Playframework

但是当我运行詹金斯作业时,在检查日志时出现以下错误:

But when I run the jenkins job I get the following error when checking the log:

原因:hudson.remoting.ProxyException:com.cloudbees.api.BeesClientException:Server.InternalError-不支持部署类型:zip

我不确定是什么原因造成的.有人可以帮我解决这个问题吗?

I'm not sure what's causing this. Can someone help me solve this problem?

这是更详细的日志:



    [info] Done updating.
    [info] Compiling 4 Scala sources and 2 Java sources to /scratch/jenkins/workspace/helloworld/target/scala-2.9.1/classes...
    [success] Total time: 74 s, completed Dec 6, 2012 12:42:55 PM
    [info] Packaging /scratch/jenkins/workspace/helloworld/target/scala-2.9.1/helloworld_2.9.1-1.0-SNAPSHOT.jar ...
    [info] Done packaging.

    Your application is ready in /scratch/jenkins/workspace/helloworld/dist/helloworld-1.0-SNAPSHOT.zip

    [success] Total time: 6 s, completed Dec 6, 2012 12:43:01 PM
    [cloudbees-deployer] Deploying as (jenkins)
    [cloudbees-deployer] Deploying to account
    [cloudbees-deployer] Deploying dist/*.zip -> helloworld
    [cloudbees-deployer] 0 MB
    [cloudbees-deployer] 1 MB
    [cloudbees-deployer] 2 MB
    [cloudbees-deployer] 4 MB
    [cloudbees-deployer] 5 MB
    [cloudbees-deployer] 7 MB
    [cloudbees-deployer] 8 MB
    [cloudbees-deployer] 10 MB
    [cloudbees-deployer] 11 MB
    [cloudbees-deployer] 13 MB
    [cloudbees-deployer] 14 MB
    [cloudbees-deployer] 15 MB
    [cloudbees-deployer] 17 MB
    [cloudbees-deployer] 18 MB
    [cloudbees-deployer] 20 MB
    [cloudbees-deployer] 21 MB
    [cloudbees-deployer] 23 MB
    [cloudbees-deployer] 24 MB
    [cloudbees-deployer] 26 MB
    [cloudbees-deployer] 27 MB
    hudson.util.IOException2: remote file operation failed: /scratch/jenkins/workspace/helloworld/dist/helloworld-1.0-SNAPSHOT.zip at hudson.remoting.Channel@7d698506:s-f2a51a41
        at hudson.FilePath.act(FilePath.java:835)
        at hudson.FilePath.act(FilePath.java:821)
        at com.cloudbees.plugins.deployer.DeployPublisher.perform(DeployPublisher.java:108)
        at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
        at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:720)
        at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:695)
        at hudson.model.Build$RunnerImpl.post2(Build.java:162)
        at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:642)
        at hudson.model.Run.run(Run.java:1467)
        at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
        at hudson.model.ResourceController.execute(ResourceController.java:88)
        at hudson.model.Executor.run(Executor.java:239)
    Caused by: hudson.remoting.ProxyException: hudson.util.IOException2: Server.InternalError - Deployment type not supported: zip
        at com.cloudbees.plugins.deployer.deployables.Deployable.deployFile(Deployable.java:152)
        at com.cloudbees.plugins.deployer.deployables.Deployable$DeployFileCallable.invoke(Deployable.java:343)
        at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2229)
        at hudson.remoting.UserRequest.perform(UserRequest.java:118)
        at hudson.remoting.UserRequest.perform(UserRequest.java:48)
        at hudson.remoting.Request$2.run(Request.java:326)
        at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
        at java.util.concurrent.FutureTask.run(FutureTask.java:138)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:662)
    Caused by: hudson.remoting.ProxyException: com.cloudbees.api.BeesClientException: Server.InternalError - Deployment type not supported: zip
        at com.cloudbees.api.BeesClient.readResponse(BeesClient.java:850)
        at com.cloudbees.api.BeesClient.applicationDeployArchive(BeesClient.java:435)
        at com.cloudbees.plugins.deployer.deployables.Deployable.deployFile(Deployable.java:124)
        ... 11 more
    Build step 'Deploy to CloudBees' marked build as failure
    Finished: FAILURE

推荐答案

您需要可解决此问题的最新cloudbees-deployer插件.告诉我您的帐户名称,以便我解决这个问题

You need the latest cloudbees-deployer plugin that fixes this issue. Tell me your account name so I can fix this

这篇关于在使用jenkins的cloudbees中构建play framework应用程序时出错:不支持部署类型:zip的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆