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

Matrix jobs default to "locked" (and are difficult to delete)

      With a matrix job now when it completes it defaults to being a "keep forever" type build. Only by deleting the current job can a previous job be deleted, in some cases.

      (09:36:12 AM) Tartarus: kohsuke: With matrix jobs and 1.418 I'm seeing all of my jobs default to being locked, didn't see this with 1.409, any ideas?
      (09:36:32 AM) kohsuke: probably related to the partial rebuild support. Any ticket for this?
      (09:36:54 AM) Tartarus: Hadn't filed one yet
      (09:37:18 AM) kohsuke: Would you please? I don't think I can get it right now, but I don't want to forget
      

          [JENKINS-10197] Matrix jobs default to "locked" (and are difficult to delete)

          Daniel Beck added a comment -

          Is there an actual bug left to resolve here (rather than an RFE)?

          I mean, it's quite obvious from e.g. Jesse's comment on 27/Mar/13 that the behavior csims describes is intended.

          aartemov unfortunately provided no further details what exactly he's seeing for this to be reopened, but it may well be the same.

          Daniel Beck added a comment - Is there an actual bug left to resolve here (rather than an RFE)? I mean, it's quite obvious from e.g. Jesse's comment on 27/Mar/13 that the behavior csims describes is intended. aartemov unfortunately provided no further details what exactly he's seeing for this to be reopened, but it may well be the same.

          Code changed in jenkins
          User: Daniel Beck
          Path:
          core/src/main/resources/hudson/model/Run/KeepLogBuildBadge/badge.jelly
          http://jenkins-ci.org/commit/jenkins/0f0c2a7d00c22dc9946c18b20e7f576a20cf8a86
          Log:
          JENKINS-10197 Show keep log reason in tool tip

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Daniel Beck Path: core/src/main/resources/hudson/model/Run/KeepLogBuildBadge/badge.jelly http://jenkins-ci.org/commit/jenkins/0f0c2a7d00c22dc9946c18b20e7f576a20cf8a86 Log: JENKINS-10197 Show keep log reason in tool tip

          Code changed in jenkins
          User: Oleg Nenashev
          Path:
          core/src/main/resources/hudson/model/Run/KeepLogBuildBadge/badge.jelly
          http://jenkins-ci.org/commit/jenkins/c4df05b652b25c7bb96511e3f6e7f1467dc34a33
          Log:
          Merge pull request #1422 from daniel-beck/JENKINS-10197

          JENKINS-10197 Show keep log reason in tool tip

          Compare: https://github.com/jenkinsci/jenkins/compare/e518f009c515...c4df05b652b2

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Oleg Nenashev Path: core/src/main/resources/hudson/model/Run/KeepLogBuildBadge/badge.jelly http://jenkins-ci.org/commit/jenkins/c4df05b652b25c7bb96511e3f6e7f1467dc34a33 Log: Merge pull request #1422 from daniel-beck/ JENKINS-10197 JENKINS-10197 Show keep log reason in tool tip Compare: https://github.com/jenkinsci/jenkins/compare/e518f009c515...c4df05b652b2

          Oleg Nenashev added a comment -

          @Daniel
          I suppose the issue could be converted to "Improvement" or closed as "Not a defect".
          The behavior is quite painful, but it works as designed.

          Oleg Nenashev added a comment - @Daniel I suppose the issue could be converted to "Improvement" or closed as "Not a defect". The behavior is quite painful, but it works as designed.

          Daniel Beck added a comment -

          Resolving this issue as fixed again, as the concerns for which it was reopened appear to relate to current behavior that is by design.

          Starting from 1.585 or so, the reason for a build to be kept forever is also shown on the tool tip of the lock icon, so it's at least easier to determine why a build is kept.

          Please file a new improvement or feature request against the matrix-project component if you think the current behavior should be changed, or made configurable. You can create a bidirectional link to this issue ("More Actions" button) to establish these are related.

          (Oleg: Given that this was already fixed and backported, a clean slate for the improvement seems preferable.)

          Daniel Beck added a comment - Resolving this issue as fixed again, as the concerns for which it was reopened appear to relate to current behavior that is by design. Starting from 1.585 or so, the reason for a build to be kept forever is also shown on the tool tip of the lock icon, so it's at least easier to determine why a build is kept. Please file a new improvement or feature request against the matrix-project component if you think the current behavior should be changed, or made configurable. You can create a bidirectional link to this issue ("More Actions" button) to establish these are related. (Oleg: Given that this was already fixed and backported, a clean slate for the improvement seems preferable.)

          dogfood added a comment -

          Integrated in jenkins_main_trunk #3741
          JENKINS-10197 Show keep log reason in tool tip (Revision 0f0c2a7d00c22dc9946c18b20e7f576a20cf8a86)

          Result = SUCCESS
          daniel-beck : 0f0c2a7d00c22dc9946c18b20e7f576a20cf8a86
          Files :

          • core/src/main/resources/hudson/model/Run/KeepLogBuildBadge/badge.jelly

          dogfood added a comment - Integrated in jenkins_main_trunk #3741 JENKINS-10197 Show keep log reason in tool tip (Revision 0f0c2a7d00c22dc9946c18b20e7f576a20cf8a86) Result = SUCCESS daniel-beck : 0f0c2a7d00c22dc9946c18b20e7f576a20cf8a86 Files : core/src/main/resources/hudson/model/Run/KeepLogBuildBadge/badge.jelly

          Gino Atlas added a comment - - edited

          Hello, this issue came up with version 1.7 on Jenkins 2.29 again.
          I've got a plenty of matrix jobs, which I can't delete. I don't see any configuration options the handle this problem.

          Thank you!
          Gino

          Gino Atlas added a comment - - edited Hello, this issue came up with version 1.7 on Jenkins 2.29 again. I've got a plenty of matrix jobs, which I can't delete. I don't see any configuration options the handle this problem. Thank you! Gino

          Daniel Beck added a comment -

          giat7133 Please see the preceding comment. Thank you.

          Daniel Beck added a comment - giat7133 Please see the preceding comment. Thank you.

          Gino Atlas added a comment -

          So I will need to create an improvement request. Thank you!

          Gino Atlas added a comment - So I will need to create an improvement request. Thank you!

          Lukasova M added a comment -

          HI, I also have a multi-configuration job and i cannot delete any job, because it shows it depends on itself or another job. But that another job also depends on some. And it doesn't give me an option to unmark the build to be kept forever. Is there some solution? (Jenkins v. 2.27)

          Thanks

          Lukasova M added a comment - HI, I also have a multi-configuration job and i cannot delete any job, because it shows it depends on itself or another job. But that another job also depends on some. And it doesn't give me an option to unmark the build to be kept forever. Is there some solution? (Jenkins v. 2.27) Thanks

            vjuranek vjuranek
            tomrini Tom Rini
            Votes:
            24 Vote for this issue
            Watchers:
            37 Start watching this issue

              Created:
              Updated:
              Resolved: