You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[JENKINS-10197] Matrix jobs default to "locked" (and are difficult to delete) #15938
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
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
Just now when I had one build spinning up and I tried to delete the previous one it says that can't delete build #182 because #183 depends on it (roughly, forgot to copy in time).
Just now when I had one build spinning up and I tried to delete the previous one it says that can't delete build #182 because #183 depends on it (roughly, forgot to copy in time).
I ran into this a while back - the problem is that you've changed your axes, and now there's a chain of builds depending on each other back to the last one with the old axes. I got around this by deleting the actual directory from $JENKINS_HOME/jobs/$JOB_NAME/configurations/axis-label. That said, this is definitely still a real bug.
I ran into this a while back - the problem is that you've changed your axes, and now there's a chain of builds depending on each other back to the last one with the old axes. I got around this by deleting the actual directory from $JENKINS_HOME/jobs/$JOB_NAME/configurations/axis-label. That said, this is definitely still a real bug.
We have this issue as well. Because every build is kept and the logs are rather large, in approximately 2 months time, our logs are over 5GB for one job.
We have this issue as well. Because every build is kept and the logs are rather large, in approximately 2 months time, our logs are over 5GB for one job.
Also experiencing the same issue, and we're quickly filling up disk space on our master. Since we've saved release builds in the artifacts of jobs, I can't just delete the entire jobs/$JOB_NAME/configurations/axis-label folder (though I'll start working through and copying the artifacts out so that we can). Has anyone figured out how to delete particular builds when they're in this "locked" state?
Also experiencing the same issue, and we're quickly filling up disk space on our master. Since we've saved release builds in the artifacts of jobs, I can't just delete the entire jobs/$JOB_NAME/configurations/axis-label folder (though I'll start working through and copying the artifacts out so that we can). Has anyone figured out how to delete particular builds when they're in this "locked" state?
51c85a9fa030013553299e59649251b4f09560d5 is the first bad commit
commit 51c85a9fa030013553299e59649251b4f09560d5
Author: Kohsuke Kawaguchi <kk@kohsuke.org>
Date: Thu May 12 10:50:18 2011 -0700
control GC so that records are always full
I've ran a git bisect on this problem and it's:
51c85a9 is the first bad commit
commit 51c85a9
Author: Kohsuke Kawaguchi
Date: Thu May 12 10:50:18 2011 -0700
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
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)
Activity
jenkins-infra-bot commentedon Jul 5, 2011
Raw content of original comment:
Just now when I had one build spinning up and I tried to delete the previous one it says that can't delete build #182 because #183 depends on it (roughly, forgot to copy in time).
jenkins-infra-bot commentedon Jul 11, 2011
Raw content of original comment:
I ran into this a while back - the problem is that you've changed your axes, and now there's a chain of builds depending on each other back to the last one with the old axes. I got around this by deleting the actual directory from $JENKINS_HOME/jobs/$JOB_NAME/configurations/axis-label. That said, this is definitely still a real bug.
jenkins-infra-bot commentedon Jul 13, 2011
g01:
Raw content of original comment:
We have this issue as well. Because every build is kept and the logs are rather large, in approximately 2 months time, our logs are over 5GB for one job.
jenkins-infra-bot commentedon Jul 26, 2011
Raw content of original comment:
Also experiencing the same issue, and we're quickly filling up disk space on our master. Since we've saved release builds in the artifacts of jobs, I can't just delete the entire jobs/$JOB_NAME/configurations/axis-label folder (though I'll start working through and copying the artifacts out so that we can). Has anyone figured out how to delete particular builds when they're in this "locked" state?
jenkins-infra-bot commentedon Jul 27, 2011
Raw content of original comment:
I have this problem too....
I'm wondering if it's related to
JENKINS-10131- Git Plugin kicks off builds for executors.All the builds that are having this issue are triggered by git looking for workspaces. I don't know if that's the case with the other builds.
jenkins-infra-bot commentedon Jul 27, 2011
Raw content of original comment:
Although we have the git plugin installed, all of the relevant builds are from SVN.
jenkins-infra-bot commentedon Jul 27, 2011
Raw content of original comment:
I've ran a git bisect on this problem and it's:
51c85a9 is the first bad commit
commit 51c85a9
Author: Kohsuke Kawaguchi
Date: Thu May 12 10:50:18 2011 -0700
control GC so that records are always full
jenkins-infra-bot commentedon Jul 28, 2011
Raw content of original comment:
Yeah, that isPartial() function looks wrong....
jenkins-infra-bot commentedon Jul 28, 2011
Raw content of original comment:
Link to the code in question: 51c85a9
jenkins-infra-bot commentedon Jul 29, 2011
Raw content of original comment:
Code changed in jenkins
User: Andrew Bayer
Path:
changelog.html
core/src/main/java/hudson/matrix/MatrixBuild.java
http://jenkins-ci.org/commit/jenkins/eea67c761e78fa1b26f9d2ae82826e3e74b877ee
Log:
[FIXED JENKINS-10197] isPartial() check for matrix builds now only reference active configurations.
jenkins-infra-bot commentedon Jul 29, 2011
Raw content of original comment:
Fix will be in 1.425.
jenkins-infra-bot commentedon Jul 29, 2011
Raw content of original comment:
Integrated in
jenkins_main_trunk #1002
[FIXED JENKINS-10197] isPartial() check for matrix builds now only reference active configurations.
Andrew Bayer : eea67c761e78fa1b26f9d2ae82826e3e74b877ee
Files :
jenkins-infra-bot commentedon Sep 12, 2011
Raw content of original comment:
Code changed in jenkins
User: Andrew Bayer
Path:
changelog.html
core/src/main/java/hudson/matrix/MatrixBuild.java
http://jenkins-ci.org/commit/jenkins/eea67c761e78fa1b26f9d2ae82826e3e74b877ee
Log:
[FIXED JENKINS-10197] isPartial() check for matrix builds now only reference active configurations.
jenkins-infra-bot commentedon Sep 19, 2011
ebann:
Raw content of original comment:
I'm seeing this problem in Jenkins 1.430.
Isn't it "resolved" ?
jenkins-infra-bot commentedon Oct 19, 2011
Raw content of original comment:
Please re-open. I am seeing this behavior in 1.434
34 remaining items
jenkins-infra-bot commentedon Nov 8, 2016
Raw content of original comment:
giat7133 Please see the preceding comment. Thank you.
jenkins-infra-bot commentedon Nov 8, 2016
Raw content of original comment:
So I will need to create an improvement request. Thank you!
jenkins-infra-bot commentedon Aug 30, 2017
lukasova_m:
Raw content of original 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
jenkins-infra-bot commentedon Nov 24, 2025
[Original
is_duplicated_byfrom Jira: JENKINS-11424]jenkins-infra-bot commentedon Nov 24, 2025
[Original
is_duplicated_byfrom Jira: JENKINS-12797]jenkins-infra-bot commentedon Nov 24, 2025
[Original
relates_tofrom Jira: JENKINS-34723]