diff --git a/Jenkinsfile b/Jenkinsfile index 989d91c..efc7aaf 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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 } }