Changed to archive only release builds.

This commit is contained in:
Harrison Deng 2022-04-24 23:34:22 -05:00
parent c5056eddf2
commit e03f8867ae

6
Jenkinsfile vendored
View File

@ -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
}
}
}