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

Builds aborted during SVN update are marked as FAILURE

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      When I manually abort a build during SVN update it is not marked as ABORTED but
      as FAILURE:

      Started by upstream project "abc" build number 31
      Updating http://codebase.xyz
      ERROR: Failed to update http://codebase.xyz
      org.tmatesoft.svn.core.SVNCancelException: svn: Operation cancelled
      at
      hudson.scm.SubversionUpdateEventHandler.checkCancelled(SubversionUpdateEventHandler.java:112)
      at org.tmatesoft.svn.core.wc.SVNBasicClient.checkCancelled(SVNBasicClient.java:460)
      at
      org.tmatesoft.svn.core.internal.wc.admin.SVNWCAccess.checkCancelled(SVNWCAccess.java:82)
      at
      org.tmatesoft.svn.core.internal.wc.admin.SVNWCAccess.doOpen(SVNWCAccess.java:381)
      at
      org.tmatesoft.svn.core.internal.wc.admin.SVNWCAccess.doOpen(SVNWCAccess.java:397)
      at org.tmatesoft.svn.core.internal.wc.admin.SVNWCAccess.open(SVNWCAccess.java:272)
      at org.tmatesoft.svn.core.internal.wc.admin.SVNWCAccess.open(SVNWCAccess.java:265)
      at
      org.tmatesoft.svn.core.internal.wc.admin.SVNWCAccess.openAnchor(SVNWCAccess.java:160)
      at org.tmatesoft.svn.core.wc.SVNUpdateClient.update(SVNUpdateClient.java:512)
      at org.tmatesoft.svn.core.wc.SVNUpdateClient.doUpdate(SVNUpdateClient.java:401)
      at org.tmatesoft.svn.core.wc.SVNUpdateClient.doUpdate(SVNUpdateClient.java:217)
      at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:576)
      at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:543)
      at hudson.FilePath.act(FilePath.java:676)
      at hudson.FilePath.act(FilePath.java:660)
      at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:536)
      at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:484)
      at hudson.model.AbstractProject.checkout(AbstractProject.java:956)
      at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:400)
      at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:349)
      at hudson.model.Run.run(Run.java:1117)
      at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:300)
      at hudson.model.ResourceController.execute(ResourceController.java:93)
      at hudson.model.Executor.run(Executor.java:122)
      Jabber notifier plugin: Sending notification to: xyz
      Jabber notifier plugin: Notifying suspects
      Email was triggered for: Failure
      There are 1 triggered emails.
      Sending email for trigger: Failure
      Sending e-mails to: xyz
      Notifying upstream projects of job completion
      Finished: FAILURE

        Attachments

          Issue Links

            Activity

            Show
            kutzi kutzi added a comment - Consider porting: https://github.com/hudson/hudson/commit/2afae2912bac840bac2c72f30a6645267575f1e7 https://github.com/hudson/hudson/commit/1f99c27761b09caf194d4deeffe94f7b76853419 and https://github.com/hudson-plugins/subversion-plugin/commit/434c51a0e158349478b8c9a98751aee596b93450 https://github.com/hudson-plugins/subversion-plugin/commit/7c4aa775ca5cd5531b5913e313563c7a223f5d00
            Hide
            dogfood dogfood added a comment -

            Integrated in plugins_subversion #129
            [FIXED JENKINS-4605] Builds aborted during SCM checkout should be marked as aborted instead of failed

            kutzi :
            Files :

            • /trunk/hudson/plugins/subversion/src/main/java/hudson/scm/subversion/UpdateUpdater.java
            • /trunk/hudson/plugins/subversion/src/main/java/hudson/scm/subversion/CheckoutUpdater.java
            Show
            dogfood dogfood added a comment - Integrated in plugins_subversion #129 [FIXED JENKINS-4605] Builds aborted during SCM checkout should be marked as aborted instead of failed kutzi : Files : /trunk/hudson/plugins/subversion/src/main/java/hudson/scm/subversion/UpdateUpdater.java /trunk/hudson/plugins/subversion/src/main/java/hudson/scm/subversion/CheckoutUpdater.java
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Christoph Kutzinski
            Path:
            core/src/main/java/hudson/model/AbstractBuild.java
            core/src/main/java/hudson/scm/SCM.java
            test/src/test/java/hudson/scm/ScmTest.java
            http://jenkins-ci.org/commit/jenkins/ee38d15b1e7b36336675923135f48194216c3c1d
            Log:
            Interrupting SCM checkout should mark the build as aborted instead of failed JENKINS-4605

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Christoph Kutzinski Path: core/src/main/java/hudson/model/AbstractBuild.java core/src/main/java/hudson/scm/SCM.java test/src/test/java/hudson/scm/ScmTest.java http://jenkins-ci.org/commit/jenkins/ee38d15b1e7b36336675923135f48194216c3c1d Log: Interrupting SCM checkout should mark the build as aborted instead of failed JENKINS-4605
            Hide
            dogfood dogfood added a comment -

            Integrated in jenkins_main_trunk #1277
            Interrupting SCM checkout should mark the build as aborted instead of failed JENKINS-4605

            Christoph Kutzinski : ee38d15b1e7b36336675923135f48194216c3c1d
            Files :

            • core/src/main/java/hudson/scm/SCM.java
            • core/src/main/java/hudson/model/AbstractBuild.java
            • test/src/test/java/hudson/scm/ScmTest.java
            Show
            dogfood dogfood added a comment - Integrated in jenkins_main_trunk #1277 Interrupting SCM checkout should mark the build as aborted instead of failed JENKINS-4605 Christoph Kutzinski : ee38d15b1e7b36336675923135f48194216c3c1d Files : core/src/main/java/hudson/scm/SCM.java core/src/main/java/hudson/model/AbstractBuild.java test/src/test/java/hudson/scm/ScmTest.java
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: kutzi
            Path:
            src/main/java/hudson/scm/subversion/CheckoutUpdater.java
            src/main/java/hudson/scm/subversion/UpdateUpdater.java
            http://jenkins-ci.org/commit/subversion-plugin/303760992e26002aade8609beecb2fc0c1c90b92
            Log:
            [FIXED JENKINS-4605] Builds aborted during SCM checkout should be marked as aborted instead of failed

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: kutzi Path: src/main/java/hudson/scm/subversion/CheckoutUpdater.java src/main/java/hudson/scm/subversion/UpdateUpdater.java http://jenkins-ci.org/commit/subversion-plugin/303760992e26002aade8609beecb2fc0c1c90b92 Log: [FIXED JENKINS-4605] Builds aborted during SCM checkout should be marked as aborted instead of failed
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: kutzi
            Path:
            src/main/java/hudson/scm/subversion/CheckoutUpdater.java
            src/main/java/hudson/scm/subversion/UpdateUpdater.java
            http://jenkins-ci.org/commit/subversion-plugin/303760992e26002aade8609beecb2fc0c1c90b92
            Log:
            [FIXED JENKINS-4605] Builds aborted during SCM checkout should be marked as aborted instead of failed

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: kutzi Path: src/main/java/hudson/scm/subversion/CheckoutUpdater.java src/main/java/hudson/scm/subversion/UpdateUpdater.java http://jenkins-ci.org/commit/subversion-plugin/303760992e26002aade8609beecb2fc0c1c90b92 Log: [FIXED JENKINS-4605] Builds aborted during SCM checkout should be marked as aborted instead of failed

              People

              • Assignee:
                kutzi kutzi
                Reporter:
                kutzi kutzi
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: