2013-03-20 167 views
-1

我刚刚在基于Play2模板的CloudBees上创建了一个新应用程序,使用ClickStart功能(我认为它的版本为2.1)。第一个版本 - 自动启动 - 成功。然后,我做了一个简单的提交(只是在一个.scala.html文件中更改了一些HTML代码),但构建失败,部署期间。在CloudBees上部署Play2应用程序时出现错误500

下面是日志:

[info] Done packaging. 

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

[success] Total time: 20 s, completed Mar 20, 2013 7:51:12 AM 
[cloudbees-deployer] Deploying as (jenkins) to the *** account 
[cloudbees-deployer] Deploying foo-bar 
[cloudbees-deployer] Resolved from workspace as /scratch/jenkins/workspace/foo-bar/dist/helloworld-1.0.zip 
[cloudbees-deployer] Deploying via API server at https://api.cloudbees.com/api 
[cloudbees-deployer] 0 MB 
[cloudbees-deployer] 1 MB 
... 
[cloudbees-deployer] 21 MB 
[cloudbees-deployer] 22 MB 
com.cloudbees.plugins.deployer.exceptions.DeployException: remote file operation failed: /scratch/jenkins/workspace/foo-bar/dist/helloworld-1.0.zip at [email protected]:s-b5547802 
    at com.cloudbees.plugins.deployer.engines.Engine.process(Engine.java:162) 
    at com.cloudbees.plugins.deployer.engines.Engine.perform(Engine.java:96) 
    at com.cloudbees.plugins.deployer.DeployPublisher.perform(DeployPublisher.java:95) 
    at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) 
    at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:728) 
    at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:703) 
    at hudson.model.Build$BuildExecution.post2(Build.java:183) 
    at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:650) 
    at hudson.model.Run.execute(Run.java:1530) 
    at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) 
    at hudson.model.ResourceController.execute(ResourceController.java:88) 
    at hudson.model.Executor.run(Executor.java:237) 
Caused by: hudson.util.IOException2: remote file operation failed: /scratch/jenkins/workspace/foo-bar/dist/helloworld-1.0.zip at [email protected]:s-b5547802 
    at hudson.FilePath.act(FilePath.java:838) 
    at hudson.FilePath.act(FilePath.java:824) 
    at com.cloudbees.plugins.deployer.engines.Engine.process(Engine.java:156) 
    ... 11 more 
Caused by: hudson.remoting.ProxyException: hudson.util.IOException2: 500 - <html> 
<head><title>500 Internal Server Error</title></head> 
<body bgcolor="white"> 
<center><h1>500 Internal Server Error</h1></center> 
<hr><center>nginx/1.3.13</center> 
</body> 
</html> 

    at com.cloudbees.plugins.deployer.impl.run.RunEngineImpl$DeployFileCallable.invoke(RunEngineImpl.java:328) 
    at com.cloudbees.plugins.deployer.impl.run.RunEngineImpl$DeployFileCallable.invoke(RunEngineImpl.java:264) 
    at com.cloudbees.plugins.deployer.engines.Engine$FingerprintingWrapper.invoke(Engine.java:248) 
    at com.cloudbees.plugins.deployer.engines.Engine$FingerprintingWrapper.invoke(Engine.java:236) 
    at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2236) 
    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:334) 
    at java.util.concurrent.FutureTask.run(FutureTask.java:166) 
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) 
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) 
    at java.lang.Thread.run(Thread.java:722) 
Caused by: hudson.remoting.ProxyException: com.cloudbees.api.BeesClientException: 500 - <html> 
<head><title>500 Internal Server Error</title></head> 
<body bgcolor="white"> 
<center><h1>500 Internal Server Error</h1></center> 
<hr><center>nginx/1.3.13</center> 
</body> 
</html> 

    at com.cloudbees.api.BeesClientBase.processError(BeesClientBase.java:270) 
    at com.cloudbees.api.BeesClientBase.executeUpload(BeesClientBase.java:327) 
    at com.cloudbees.api.BeesClient.applicationDeployArchive(BeesClient.java:576) 
    at com.cloudbees.plugins.deployer.impl.run.RunEngineImpl$DeployFileCallable.invoke(RunEngineImpl.java:320) 
    ... 13 more 
Build step 'Deploy applications' marked build as failure 
Finished: FAILURE 

我不知道我能做些什么来解决这个问题?任何想法?

谢谢。

回答

0

看起来像部署端点的临时端点。只是重试部署(使用“现在部署”),它应该没问题

+0

你好尼古拉斯。确实,这是问题所在。新的构建解决了这个问题。现在我准备好了Devoxx :) http://devoxx-cloudbees.linsolas.cloudbees.net/ – romaintaz 2013-03-22 08:17:08

相关问题