From 978247fd55adf05184b014113831154572bde37c Mon Sep 17 00:00:00 2001 From: xiangning Date: Mon, 11 May 2026 02:30:22 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=9B=B4=E6=96=B0=20Jenkinsfile=20?= =?UTF-8?q?=E8=B7=AF=E5=BE=84=EF=BC=88backend=20=E4=B8=BA=E4=BB=93?= =?UTF-8?q?=E5=BA=93=E6=A0=B9=E7=9B=AE=E5=BD=95=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Jenkinsfile | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 3ede6b3..236cf52 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -3,25 +3,20 @@ pipeline { environment { DOTNET_CLI_TELEMETRY_OPTOUT = '1' - PROJECT_DIR = 'backend' } stages { stage('Restore') { steps { echo '=== Restore NuGet Packages ===' - dir("${PROJECT_DIR}") { - sh 'dotnet restore' - } + sh 'dotnet restore' } } stage('Build') { steps { echo '=== Build Solution ===' - dir("${PROJECT_DIR}") { - sh 'dotnet build --no-restore --warnings-as-errors' - } + sh 'dotnet build --no-restore --warnings-as-errors' } } }