`

Hudson dryRun jobs break after upgrade from 2.2.0 to 2.2.1

阅读更多

 

I just upgraded our Hudson from 2.2.0 to 2.2.1 to fix a known bug with emails. Doing this have caused some problems, especially with the dryRun builds.After the upgrade, all the dryRun jobs are failing.

I'm not sure what's happening, but something is causing a svn version conflict:

 

svn: The path '.' appears to be part of a Subversion 1.7 or greater
working copy.  Please upgrade your Subversion client to use this
working copy.

 

 We have several builds to dryRun a release:prepare

clean -e release:clean release:prepare -DdryRun=true
 

  • Hudson Maven(legacy) plugin -> 2.2.1
  • Hudson Maven3 plugin -> 2.2.0
  • Hudson subversion plugin -> 2.3.2

It seems that the files are downloaded correctly, but the "check for modifications" step seems unnecessary.

Maven output:

[INFO] Verifying that there are no local modifications...
[INFO] Executing: /bin/sh -c cd /var/lib/hudson/jobs/anonymousName-app-svn-dryRun-release/workspace/app && svn --non-interactive status
[INFO] Working directory: /var/lib/hudson/jobs/anonymousName-app-svn-dryRun-release/workspace/app
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Unable to check for local modifications
Provider message:
The svn command failed.
Command output:
svn: The path '.' appears to be part of a Subversion 1.7 or greater
working copy.  Please upgrade your Subversion client to use this
working copy.

[INFO] ------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.BuildFailureException: Unable to check for local modifications
Provider message:
The svn command failed.
Command output:
svn: The path '.' appears to be part of a Subversion 1.7 or greater
working copy.  Please upgrade your Subversion client to use this
working copy.

        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:715)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:569)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:539)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:284)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
        at org.apache.maven.lifecycle.LifecycleExecutorInterceptor.execute(LifecycleExecutorInterceptor.java:65)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:600)
        at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
        at hudson.maven.agent.Main.launch(Main.java:173)
        at hudson.maven.MavenBuilder.call(MavenBuilder.java:164)
        at hudson.maven.MavenModuleSetBuild$Builder.call(MavenModuleSetBuild.java:917)
        at hudson.maven.MavenModuleSetBuild$Builder.call(MavenModuleSetBuild.java:848)
        at hudson.remoting.UserRequest.perform(UserRequest.java:114)
        at hudson.remoting.UserRequest.perform(UserRequest.java:48)
        at hudson.remoting.Request$2.run(Request.java:283)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:453)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:315)
        at java.util.concurrent.FutureTask.run(FutureTask.java:150)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:898)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:920)
        at java.lang.Thread.run(Thread.java:736)
Caused by: org.apache.maven.plugin.MojoFailureException: Unable to check for local modifications
Provider message:
The svn command failed.
Command output:
svn: The path '.' appears to be part of a Subversion 1.7 or greater
working copy.  Please upgrade your Subversion client to use this
working copy.

        at org.apache.maven.plugins.release.PrepareReleaseMojo.execute(PrepareReleaseMojo.java:190)
        at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
        at hudson.maven.agent.PluginManagerInterceptor.executeMojo(PluginManagerInterceptor.java:182)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
        ... 28 more
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 12 seconds
[INFO] Finished at: Thu Jun 14 12:56:15 CEST 2012
[INFO] Final Memory: 25M/63M
 In version 2.2.1, Hudson upgraded to SVNKit 1.7, causing the Subversion working copy to use the non-backwards compatible 1.7 format.

Maven release-plugin calls your SCM provider, Subversion, from the path. You probably have Subversion 1.6 or earlier installed for your command line.

One possible solution is to upgrade your command line Subversion installation to version 1.7.

 

 

分享到:
评论

相关推荐

    hudson2.2.0的war包

    hudson2.2.0的war包。 我只能上传小于50MB的文件所以分了两个压缩包。

    hudson-3.3.1.war

    For Production use, Hudson 3.3.1 from the Eclipse Foundation is now available. This WAR file is suitable for any O/S. We recommend that users of 3.0, 3.1, 3.2 or 3.3.0 upgrade to this release. his ...

    hudson2.2的war包

    hudson2.2.0的war包。 我只能上传小于50MB的文件所以分了两个压缩包。这是第二个包

    hudson学习教程Hudson安装与使用,Hudson配置,Hudson插件

    Hudson安装与使用,Hudson配置,Hudson插件Hudson安装与使用,Hudson配置,Hudson插件Hudson安装与使用,Hudson配置,Hudson插件Hudson安装与使用,Hudson配置,Hudson插件Hudson安装与使用,Hudson配置,Hudson插件...

    hudson配置手册

    Hudson基本系统设置 JDK 运行Hudson之后,在浏览器访问hudson主页,如:http://localhost:8080/hudson-2.2.0 点击 Manage Hudson->Configure System,并找到配置JDK的地方,如图

    hudson-3.2.2.war

    hudson-3.2.2 放在tomcat下直接打开即可

    hudson自动构建文档

    hudson安装及其配置 hudson平台搭建及使用 Hudson使用参考手册 关于hudson远程自动构建发布 使用hudson_搭建daily_build_系统

    hudson 中文操作手册

    hudson 中文操作手册 hudson 中文操作手册 hudson 中文操作手册

    hudson.freemarker_ide_0.9.14.rar

    hudson.freemarker_ide_0.9.14 是eclipse 的 离线版插件 是配合我这篇帖子的 https://blog.csdn.net/jdycsdn/article/details/105598881

    hudson持续集成包

    hudson持续集成包hudson持续集成包

    Hudson持续集成测试

    如何在电脑上配置Hudson并通过Hudson进行持续集成的测试!

    Hudson持续集成

    Hudson 是一个可扩展的持续集成引擎。 主要用于: 1.持续、自动地构建/测试软件项目,如CruiseControl与DamageControl。 2.监控一些定时执行的任务。 Hudson拥有的特性包括: •易于安装-只要把hudson.war部署到...

    持续集成工具hudson配置和使用介绍

    Hudson 是一种革命性的开放源码 CI 服务器,它从以前的 CI 服务器吸取了许多经验教训。Hudson 最吸引人的特性之一是它很容易配置:很难找到更容易设置的 CI 服务器,也很难找到开箱即用特性如此丰富的 CI 服务器。...

    hudson.freemarker_ide_0.9.14

    hudson.freemarker_ide_0.9.14 hudson.freemarker_ide_0.9.14 hudson.freemarker_ide_0.9.14 hudson.freemarker_ide_0.9.14 hudson.freemarker_ide_0.9.14

    hudson3下载,持续集成工具,java项目自动发布部署工具

    hudson.war是基于Java研发的一款持续集成工具的安装包,hudson是一个可以扩展的持续集成引擎,主要是用它来监控一些定时执行的任务、持续、自动地构建/测试软件项目,有需要的欢迎下载使用。 hudson下载,放在tomcat...

    hudson安装全过程

    非常简单的Hudson安装步骤,简洁可行,还不用积分哦

    持续开发hudson教程

    这是一个用hudson+maven+svn完成持续开发的详细教程。

    Hudson常用插件说明

    Hudson常用插件说明

    集成工具hudson与maven2的Hudson 安装及配置.docx

    集成工具hudson与maven2的Hudson 安装及配置

    Hudson持续集成实战

    Hudson持续集成实战 自动化部署教程

Global site tag (gtag.js) - Google Analytics