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' } } }