Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-3228

Aborting a Job during SVN update/checkout doesn't keep the Maven build from starting

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Major Major
    • subversion-plugin
    • None
    • Platform: All, OS: All

      Due to a missing check for SVNCancelException a Job which is aborted during SVN
      update/checkout doesn't keep the corresponding Maven build from starting.

      Corresponding console output:

      started
      Updating file:///data/subversion/repos/vk-group/vk/trunk/vk/main
      ERROR: Failed to update file:///data/subversion/repos/vk-group/vk/trunk/vk/main
      org.tmatesoft.svn.core.SVNCancelException: svn: Operation cancelled
      at
      hudson.scm.SubversionUpdateEventHandler.checkCancelled(SubversionUpdateEventHandler.java:104)
      at org.tmatesoft.svn.core.wc.SVNBasicClient.checkCancelled(SVNBasicClient.java:457)
      at
      org.tmatesoft.svn.core.internal.wc.admin.SVNWCAccess.checkCancelled(SVNWCAccess.java:73)
      at
      org.tmatesoft.svn.core.internal.wc.admin.SVNWCAccess.doOpen(SVNWCAccess.java:372)
      at
      org.tmatesoft.svn.core.internal.wc.admin.SVNWCAccess.doOpen(SVNWCAccess.java:385)
      at
      org.tmatesoft.svn.core.internal.wc.admin.SVNWCAccess.doOpen(SVNWCAccess.java:385)
      at
      org.tmatesoft.svn.core.internal.wc.admin.SVNWCAccess.doOpen(SVNWCAccess.java:385)
      at
      org.tmatesoft.svn.core.internal.wc.admin.SVNWCAccess.doOpen(SVNWCAccess.java:385)
      at
      org.tmatesoft.svn.core.internal.wc.admin.SVNWCAccess.doOpen(SVNWCAccess.java:385)
      at org.tmatesoft.svn.core.internal.wc.admin.SVNWCAccess.open(SVNWCAccess.java:263)
      at org.tmatesoft.svn.core.internal.wc.admin.SVNWCAccess.open(SVNWCAccess.java:256)
      at
      org.tmatesoft.svn.core.internal.wc.admin.SVNWCAccess.openAnchor(SVNWCAccess.java:151)
      at org.tmatesoft.svn.core.wc.SVNUpdateClient.update(SVNUpdateClient.java:413)
      at org.tmatesoft.svn.core.wc.SVNUpdateClient.doUpdate(SVNUpdateClient.java:394)
      at org.tmatesoft.svn.core.wc.SVNUpdateClient.doUpdate(SVNUpdateClient.java:210)
      at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:508)
      at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:479)
      at hudson.FilePath.act(FilePath.java:434)
      at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:472)
      at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:421)
      at hudson.model.AbstractProject.checkout(AbstractProject.java:801)
      at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:314)
      at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:266)
      at hudson.model.Run.run(Run.java:896)
      at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:234)
      at hudson.model.ResourceController.execute(ResourceController.java:93)
      at hudson.model.Executor.run(Executor.java:119)
      [main] $ /appl/cibuild/apache-maven-2.0.10/bin/mvn
      org.codehaus.sonar:sonar-maven-plugin:1.6:sonar
      -Dsonar.jdbc.driver=com.mysql.jdbc.Driver -Dsonar.jdbc.username=sonar
      -Dsonar.jdbc.password=sonar
      -Dsonar.jdbc.url=jdbc:mysql://localhost:3306/sonar?useUnicode=true&characterEncoding=utf8
      -Dsonar.host.url=http://cibuild.f.ddk/sonar -Dsonar.skipInstall=true -P all -e
      -Dweblogic.home=/appl/bea920/weblogic92 -Djdk.home=/appl/java1.5
      -Dfile.encoding=ISO-8859-1 -Duser.language=de -Duser.country=DE -X
      + Error stacktraces are turned on.
      Maven version: 2.0.10
      Java version: 1.5.0_17
      OS name: "sunos" version: "5.10" arch: "sparc" Family: "unix"
      [DEBUG] Building Maven user-level plugin registry from:
      '/home/cibuild/.m2/plugin-registry.xml'
      [DEBUG] Building Maven global-level plugin registry from:
      '/appl/cibuild/apache-maven-2.0.10/conf/plugin-registry.xml'
      [INFO] Scanning for projects...

            Unassigned Unassigned
            tjuerge tjuerge
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: