Skip to content

Commit

Permalink
Revert "Archive artifacts tweak" (#4154)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ximinhan authored May 9, 2024
1 parent d2d6f43 commit 23f285e
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 15 deletions.
14 changes: 4 additions & 10 deletions jobs/build/prepare-release/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -141,16 +141,10 @@ node {
} finally {
commonlib.safeArchiveArtifacts([
"artcd_working/email/**",
"artcd_working/doozer_working/*.log",
"artcd_working/doozer_working/*.yaml",
"artcd_working/doozer_working/*.yml"
"artcd_working/elliott_working/*.log",
"artcd_working/elliott_working/*.yaml",
"artcd_working/elliott_working/*.yml"
"artcd_working/*.json",
"artcd_working/*.log",
"artcd_working/*.yaml",
"artcd_working/*.yml",
"artcd_working/**/*.json",
"artcd_working/**/*.log",
"artcd_working/**/*.yaml",
"artcd_working/**/*.yml",
])
buildlib.cleanWorkspace()
}
Expand Down
8 changes: 5 additions & 3 deletions jobs/build/tag-rpms/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,11 @@ node {
throw err
} finally {
commonlib.safeArchiveArtifacts([
"artcd_working/doozer_working/*.log",
"artcd_working/doozer_working/*.yaml",
"artcd_working/doozer_working/*.yml"
"artcd_working/email/**",
"artcd_working/**/*.json",
"artcd_working/**/*.log",
"artcd_working/**/*.yaml",
"artcd_working/**/*.yml",
])
buildlib.cleanWorkspace()
}
Expand Down
4 changes: 2 additions & 2 deletions pipeline-scripts/buildlib.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -647,8 +647,8 @@ def watch_brew_task_and_retry(name, taskId, brewUrl) {
}
}

def cleanWorkspace(cleanWhenFailure=true) {
cleanWs(cleanWhenFailure: cleanWhenFailure, notFailBuild: true)
def cleanWorkspace() {
cleanWs(cleanWhenFailure: false, notFailBuild: true)
dir("${workspace}@tmp") {
deleteDir()
}
Expand Down

0 comments on commit 23f285e

Please sign in to comment.