From 13af9e54342cf31482ea82f9481de7c954978bd5 Mon Sep 17 00:00:00 2001 From: Harrison Deng Date: Mon, 25 Apr 2022 01:10:09 -0500 Subject: [PATCH] Removed duplicate artifacts from pipeline. --- Jenkinsfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 34b4a5e..6242ded 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -17,7 +17,8 @@ pipeline { stage("Publish") { steps { dotnetPublish configuration: 'Release', noRestore: true, project: 'Props.Shop/Props.Shop.sln', selfContained: false, unstableIfWarnings: true - archiveArtifacts artifacts: 'Props.Shop/**/bin/Release/**/publish/Props*', excludes: 'Props.Shop/*.Tests/**/*', fingerprint: true, followSymlinks: false, onlyIfSuccessful: true + archiveArtifacts artifacts: 'Props.Shop/**/bin/Release/**/publish/Props.Shop.*', excludes: 'Props.Shop/*.Tests/**/*,Props.Shop/Framework/**', fingerprint: true, followSymlinks: false, onlyIfSuccessful: true + archiveArtifacts artifacts: 'Props.Shop/Framework/bin/Release/**/publish/Props.Shop.*', excludes: 'Props.Shop/*.Tests/**/*', fingerprint: true, followSymlinks: false, onlyIfSuccessful: true sh "python3 scripts/load_shop_modules.py" } } @@ -39,7 +40,7 @@ pipeline { stage("Publish") { steps { dotnetPublish configuration: 'Release', noRestore: true, project: 'Props', sdk: 'Default .NET SDK' - archiveArtifacts artifacts: 'Props/bin/Release/**/publish/Props*', fingerprint: true, followSymlinks: false, onlyIfSuccessful: true + archiveArtifacts artifacts: 'Props/bin/Release/**/publish/Props*', excludes: 'Props.Shop.Framework.*', fingerprint: true, followSymlinks: false, onlyIfSuccessful: true } } }