Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions cleanup/artifactCleanup/artifactCleanup.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -276,16 +276,16 @@ private def getSkippedPaths(String[] repos) {
// Simplify list to have only parent paths
def paths = []
for (path in pathsTmp.sort{ it }) {
if (paths.size == 0 || ! path.startsWith(paths[-1])) {
if (paths.size() == 0 || ! path.startsWith(paths[-1])) {
if (log.isTraceEnabled()){
log.trace "skip added for " + repoKey + ":" + path
}
paths.add(path)
}
}

if (paths.size > 0){
skip[repoKey] = paths.toArray(new String[paths.size])
if (paths.size() > 0){
skip[repoKey] = paths.toArray(new String[paths.size()])
}
}
def timeStop = new Date()
Expand Down