Attempt at fixing archive step and added to Props.Shop.

This commit is contained in:
Harrison Deng 2022-04-24 23:18:51 -05:00
parent 7306c0ce86
commit c5056eddf2

7
Jenkinsfile vendored
View File

@ -17,10 +17,7 @@ pipeline {
stage("Publish") {
steps {
dotnetPublish configuration: 'Debug', project: 'Props.Shop/Props.Shop.sln', selfContained: false, unstableIfWarnings: true
}
}
stage("Load") {
steps {
archiveArtifacts artifacts: 'Props.Shop/**/bin/**/publish/Props.Shop.*', excludes: 'Props.Shop/*.Tests/**/*', fingerprint: true, followSymlinks: false, onlyIfSuccessful: true
sh "python3 scripts/load_shop_modules.py"
}
}
@ -42,7 +39,7 @@ pipeline {
stage("Publish") {
steps {
dotnetPublish configuration: 'Release', noRestore: true, project: 'Props', sdk: 'Default .NET SDK'
archiveArtifacts artifacts: 'bin/**/publish/Props,bin/**/publish/*.pdb', fingerprint: true, followSymlinks: false, onlyIfSuccessful: true
archiveArtifacts artifacts: 'Props/bin/**/publish/Props*', fingerprint: true, followSymlinks: false, onlyIfSuccessful: true
}
}
}