From f2c297fd88833b89434615624ca2ab22d96fe451 Mon Sep 17 00:00:00 2001 From: Harrison Deng Date: Mon, 25 Apr 2022 02:19:06 -0500 Subject: [PATCH] Removed SDK specification. --- Jenkinsfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 } }