From 525816b841fc23472baa464b394561dbef7a95a9 Mon Sep 17 00:00:00 2001 From: Ionite Date: Fri, 15 Sep 2023 14:22:53 -0400 Subject: [PATCH] Add -r and -c to build --- Jenkinsfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index cc5e27c6..be85096c 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -13,8 +13,8 @@ node("Diligence") { try { stage('Build') { - sh "dotnet build StabilityMatrix.sln" - sh "cp -R ./StabilityMatrix.Tests/bin/Debug/net7.0/zh-Hans ./StabilityMatrix.Tests/bin/Debug/net7.0/zh-hans" + sh "dotnet build StabilityMatrix.sln -r linux-x64 -c Release" + sh "cp -R ./StabilityMatrix.Tests/bin/Release/net7.0/zh-Hans ./StabilityMatrix.Tests/bin/Release/net7.0/zh-hans" } stage('Test') {