Removed SDK specification.

This commit is contained in:
Harrison Deng 2022-04-25 02:19:06 -05:00
parent c75f1e4042
commit f2c297fd88

8
Jenkinsfile vendored
View File

@ -5,8 +5,8 @@ pipeline {
stages {
stage("Restore") {
steps {
dotnetRestore project: "Props.Shop/Props.Shop.sln"
dotnetRestore project: "Props.Shop/Props.Shop.Tests.sln"
dotnetRestore project: "Props.Shop/Props.Shop.sln", sdk: 'System'
dotnetRestore project: "Props.Shop/Props.Shop.Tests.sln", sdk: 'System'
}
}
stage("Test") {
@ -39,8 +39,8 @@ pipeline {
}
stage("Publish") {
steps {
dotnetPublish configuration: 'Release', project: 'Props', runtime: 'linux-x64', sdk: 'Default .NET SDK', selfContained: true
dotnetPublish configuration: 'Release', project: 'Props', runtime: 'win-x64', sdk: 'Default .NET SDK', selfContained: true
dotnetPublish configuration: 'Release', project: 'Props', runtime: 'linux-x64', selfContained: true
dotnetPublish configuration: 'Release', project: 'Props', runtime: 'win-x64', selfContained: true
archiveArtifacts artifacts: 'Props/bin/Release/**/publish/Props*', excludes: '**/Props.Shop.Framework.*', fingerprint: true, followSymlinks: false, onlyIfSuccessful: true
}
}