From c75f1e4042ea54d46a86cc81d691c9e2a741ef95 Mon Sep 17 00:00:00 2001 From: Harrison Deng Date: Mon, 25 Apr 2022 02:10:07 -0500 Subject: [PATCH] Removed default runtime from "Props.csproj" and updated in "Jenkinsfile". --- Jenkinsfile | 2 +- Props/Props.csproj | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index b7b4176..989d91c 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -39,7 +39,7 @@ pipeline { } stage("Publish") { steps { - dotnetPublish configuration: 'Release', noRestore: true, project: 'Props', sdk: 'Default .NET SDK' + 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 archiveArtifacts artifacts: 'Props/bin/Release/**/publish/Props*', excludes: '**/Props.Shop.Framework.*', fingerprint: true, followSymlinks: false, onlyIfSuccessful: true } diff --git a/Props/Props.csproj b/Props/Props.csproj index 40697d0..50f2ae4 100644 --- a/Props/Props.csproj +++ b/Props/Props.csproj @@ -7,7 +7,6 @@ true true false - linux-x64 true true