From e03f8867aed3e81435837731a26dde3fd77b4916 Mon Sep 17 00:00:00 2001 From: Harrison Deng Date: Sun, 24 Apr 2022 23:34:22 -0500 Subject: [PATCH] Changed to archive only release builds. --- Jenkinsfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 773fd13..39cf4ce 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -16,8 +16,8 @@ pipeline { } stage("Publish") { steps { - dotnetPublish configuration: 'Debug', project: 'Props.Shop/Props.Shop.sln', selfContained: false, unstableIfWarnings: true - archiveArtifacts artifacts: 'Props.Shop/**/bin/**/publish/Props.Shop.*', excludes: 'Props.Shop/*.Tests/**/*', fingerprint: true, followSymlinks: false, onlyIfSuccessful: true + dotnetPublish configuration: 'Release', project: 'Props.Shop/Props.Shop.sln', selfContained: false, unstableIfWarnings: true + archiveArtifacts artifacts: 'Props.Shop/**/bin/Release/**/publish/Props.Shop.*', excludes: 'Props.Shop/*.Tests/**/*', fingerprint: true, followSymlinks: false, onlyIfSuccessful: true sh "python3 scripts/load_shop_modules.py" } } @@ -39,7 +39,7 @@ pipeline { stage("Publish") { steps { dotnetPublish configuration: 'Release', noRestore: true, project: 'Props', sdk: 'Default .NET SDK' - archiveArtifacts artifacts: 'Props/bin/**/publish/Props*', fingerprint: true, followSymlinks: false, onlyIfSuccessful: true + archiveArtifacts artifacts: 'Props/bin/Release/**/publish/Props*', fingerprint: true, followSymlinks: false, onlyIfSuccessful: true } } }