From cffd8da225b0d5480fe2712eaeb420709dbe3556 Mon Sep 17 00:00:00 2001 From: Bram Prieshof Date: Tue, 5 Jan 2021 23:11:25 +0100 Subject: [PATCH] updated jenkinsfile --- jenkinsfile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/jenkinsfile b/jenkinsfile index 03055c5..25c428d 100644 --- a/jenkinsfile +++ b/jenkinsfile @@ -7,7 +7,14 @@ pipeline { stage('Build') { steps { withDotNet(sdk: '3.1') { + //Release SelfContained singlefile dotnetPublish configuration: 'Release', outputDirectory: 'bin_SelfContained/', project: 'JenkinsDotNETTest.sln', properties: [PublishSingleFile: 'true'], runtime: 'linux-x64', selfContained: true + + //Release SelfContained seprate files (disabled) + //dotnetPublish configuration: 'Release', outputDirectory: 'bin_SelfContained/', project: 'JenkinsDotNETTest.sln', runtime: 'linux-x64', selfContained: true + + //Release for use with existing installed dotnet framework + dotnetPublish configuration: 'Release', outputDirectory: 'bin/', project: 'JenkinsDotNETTest.sln', selfContained: false } // Archive Build file // Local