我已经使用play框架创建了一个简单的应用程序,并希望将其部署到cloudbees。
我按照这里的指示:
http://developer.cloudbees.com/bin/view/RUN/Playframework
但是当我运行jenkins作业时,我在检查日志时得到以下错误:
引起:hudson.remoting.ProxyExc0019:com.cloudbees.api.BeesClientExc0019:服务器。不支持部署类型:zip
我不确定是什么原因造成的。有人能帮我解决这个问题吗?
以下是更详细的日志:
[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
您需要修复此问题的最新Cloud bees-部署器插件。告诉我你的账户名我好解决这个问题
错误:命令错误,退出状态为1:Command://app/.heroku/python/bin/python/app/.heroku/python/lib/python3.9/site-packages/pip/_vendor/pep517/_in_process.py prepare_metadata_for_build_wheel/tmp/tmp3b4z4ntu cwd://tmp/pip-i
问题内容: 我正在尝试将PlayFramework应用程序部署到CloudBees,并且在本地时可以正常运行。之后到一个Git仓库,它是自动,然后将生成的压缩文件部署,不幸的是失败。 这是此问题的日志: 以前曾问过这个问题,但尚无有效答案- 在使用jenkins的cloudbees中构建playframework应用程序时出错:不支持部署类型:zip。 问题答案: 您可能必须对应用程序进行参数设置
当我在glassfish 4.1中部署war文件时,会出现以下异常
我在playframework 1.2中创建了一个示例应用程序,并尝试将其部署到google-appengine,部署显示没有问题。但是当我点击我的应用程序时,它显示一个505错误。 当我检查日志时,我发现它抛出了一个错误,说到有趣的部分,它显示了一个servlet异常,哈哈!play完全超出了servlet/jsp世界。为什么它会抛出servlet异常? 完整的堆栈跟踪是 无法实例化侦听器 pl
我正在尝试在weblogic application server 10.3中部署一个web应用程序 部署后,当我尝试激活更改时,我收到以下异常 我知道包含以下类org/apache/Commons/digester/Digester的jar文件在服务器运行时中丢失。 我在$DOMAIN/lib中添加了这个jar,并重新启动了weblogic服务器。部署后,我收到了相同的错误。 请告知。
我有一个Grails(2.5.3版)应用程序,当我通过选项:要部署的WAR文件在Tomcat中部署时,选择WAR文件,会出现以下错误。如果我尝试一个更简单的应用程序(大小、复杂度等),它运行得很好。 但是,如果在从manager运行应用程序时手动将war文件的内容复制到Tomcat路径:pathTomcat/webapps/myApplication,则效果良好。出现任何错误。 错误: Grail