From c4b8dd548586e127102930e6d8bd5e0d093e7481 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20H=C3=A4felfinger?= Date: Tue, 25 Oct 2022 22:43:46 +0200 Subject: [PATCH] next try --- Jenkinsfile | 26 ++++++++++++-------------- 1 file changed, 12 insertions(+), 14 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index a83fb66..cb844c6 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -10,23 +10,21 @@ pipeline { stages { stage('nuget restore') { steps { - sh "cd ${env.WORKSPACE}/src" - sh "dotnet restore" + sh "dotnet restore ${env.WORKSPACE}/src/PiwigoDotnet.sln" } } - stage('build') { - steps { - sh "cd ${env.WORKSPACE}/src" - sh "dotnet build -p:Version=0.1.0.${env.BUILD_NUMBER}" - } - } + // stage('build') { + // steps { + // sh "dotnet build -p:Version=0.1.0.${env.BUILD_NUMBER} ${env.WORKSPACE}/src/PiwigoDotnet.sln" + // } + // } - stage('Testing') { - steps { - sh "cd ${env.WORKSPACE}/src" - sh "dotnet test" - } - } + // stage('Testing') { + // steps { + // sh "cd ${env.WORKSPACE}/src" + // sh "dotnet test" + // } + // } } }