mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-16 05:22:22 +00:00
Merge pull request #759 from redlab/JENKINS-17508
[FIXED JENKINS-17508] Artifacts not being deleted by LogRotator
This commit is contained in:
commit
153c9a65ca
2 files changed
+117
No files matched your search
@@ -398,6 +398,14 @@ public class MavenModuleSetBuild extends AbstractMavenBuild<MavenModuleSet,Maven
|
||||
build.delete();
|
||||
}
|
||||
|
||||
@Override
|
||||
public synchronized void deleteArtifacts() throws IOException {
|
||||
super.deleteArtifacts();
|
||||
for (List<MavenBuild> list : getModuleBuilds().values())
|
||||
for (MavenBuild build : list)
|
||||
build.deleteArtifacts();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Object getDynamic(String token, StaplerRequest req, StaplerResponse rsp) {
|
||||
// map corresponding module build under this object
|
||||
|
||||
Reference in new issue
Block a user