Added archiving and fingerprinting.

Removed win-x64 runtime publish.
This commit is contained in:
Harrison Deng 2022-04-24 22:48:46 -05:00
parent f8ad3b2970
commit 2feb46a533

7
Jenkinsfile vendored
View File

@ -16,7 +16,7 @@ pipeline {
}
stage("Publish") {
steps {
dotnetPublish configuration: 'Release', project: 'Props.Shop/Props.Shop.sln', selfContained: false, unstableIfWarnings: true
dotnetPublish configuration: 'Debug', project: 'Props.Shop/Props.Shop.sln', selfContained: false, unstableIfWarnings: true
}
}
stage("Load") {
@ -41,9 +41,8 @@ pipeline {
}
stage("Publish") {
steps {
// TODO: Archive things.
dotnetPublish configuration: 'Release', noRestore: true, project: 'Props', runtime: 'win-x64', sdk: 'Default .NET SDK'
dotnetPublish configuration: 'Release', noRestore: true, project: 'Props', runtime: 'linux-x64', sdk: 'Default .NET SDK'
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
}
}
}