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

"Cancel job" cancels all jobs rather than the selected one

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • core
    • None
    • Platform: All, OS: All

      When I cancel a job (using the "x" button on the right side of a job in the
      Build Executor Status table), then the job AND all following jobs are canceled.
      Seems to be a global cancel rather than a project specific cancel.

      E.g., I have a 1 item queue with job "analysis" running and job "compile"
      waiting. After pressing cancel for analysis and waiting some time, the analysis
      job has been canceled (ok) but also the compile job has been canceled (nok).

      Hudson shows the following log:

      started
      Updating svn://tux18.sys.net/adt/trunk/adt/sources
      ERROR: Failed to update svn://tux18.sys.net/adt/trunk/adt/sources
      org.tmatesoft.svn.core.SVNCancelException: svn: Operation cancelled
      at
      hudson.scm.SubversionUpdateEventHandler.checkCancelled(SubversionUpdateEventHandler.java:191)
      at org.tmatesoft.svn.core.wc.SVNBasicClient.checkCancelled(SVNBasicClient.java:334)
      at
      org.tmatesoft.svn.core.internal.wc.admin.SVNWCAccess.checkCancelled(SVNWCAccess.java:75)
      at
      org.tmatesoft.svn.core.internal.wc.admin.SVNWCAccess.doOpen(SVNWCAccess.java:359)
      at org.tmatesoft.svn.core.internal.wc.admin.SVNWCAccess.open(SVNWCAccess.java:261)
      at
      org.tmatesoft.svn.core.internal.wc.admin.SVNWCAccess.openAnchor(SVNWCAccess.java:153)
      at org.tmatesoft.svn.core.wc.SVNUpdateClient.doUpdate(SVNUpdateClient.java:145)
      at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:382)
      at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:354)
      at hudson.FilePath.act(FilePath.java:312)
      at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:348)
      at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:301)
      at hudson.model.AbstractProject.checkout(AbstractProject.java:564)
      at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:244)
      at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:218)
      at hudson.model.Run.run(Run.java:749)
      at hudson.model.Build.run(Build.java:102)
      at hudson.model.ResourceController.execute(ResourceController.java:70)
      at hudson.model.Executor.run(Executor.java:71)

            Unassigned Unassigned
            drulli Ulli Hafner
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: