From 96b36e0650ed310e6667088dd3eb9e6fbcb67859 Mon Sep 17 00:00:00 2001 From: Harrison Deng Date: Mon, 25 Apr 2022 01:21:56 -0500 Subject: [PATCH] Reconfigured pipeline artifact exclusions. --- Jenkinsfile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 6d74064..9242da0 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -17,8 +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.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 + archiveArtifacts artifacts: 'Props.Shop/**/bin/Release/**/publish/Props.Shop.*', excludes: 'Props.Shop/*.Tests/**/*,Props.Shop/Framework/**/Props.Shop.Framework.*', fingerprint: true, followSymlinks: false, onlyIfSuccessful: true + archiveArtifacts artifacts: 'Props.Shop/Framework/bin/Release/**/publish/Props.Shop.Framework.*', fingerprint: true, followSymlinks: false, onlyIfSuccessful: true sh "python3 scripts/load_shop_modules.py" } } @@ -40,8 +40,7 @@ pipeline { stage("Publish") { steps { dotnetPublish configuration: 'Release', noRestore: true, project: 'Props', sdk: 'Default .NET SDK' - dotnetPublish configuration: 'Release', noRestore: true, project: 'Props', runtime: 'win-x64', sdk: 'Default .NET SDK', selfContained: true - archiveArtifacts artifacts: 'Props/bin/Release/**/publish/Props*', excludes: 'Props.Shop.Framework.*', fingerprint: true, followSymlinks: false, onlyIfSuccessful: true + archiveArtifacts artifacts: 'Props/bin/Release/**/publish/Props*', excludes: 'Props/bin/Release/**/publish/Props.Shop.Framework.*', fingerprint: true, followSymlinks: false, onlyIfSuccessful: true } } }