try to discover paths
All checks were successful
piwigodotnet/pipeline/head This commit looks good

This commit is contained in:
Philipp Häfelfinger 2022-10-25 22:28:54 +02:00
parent 6b5a59e558
commit 8a060bd578

29
Jenkinsfile vendored
View File

@ -18,23 +18,24 @@ pipeline {
stage('nuget restore') { stage('nuget restore') {
steps { steps {
sh "cd ${env.WORKSPACE}/src" sh "ls -la ${env.WORKSPACE}"
sh "dotnet restore" // sh "cd ${env.WORKSPACE}/src"
// sh "dotnet restore"
} }
} }
stage('build') { // stage('build') {
steps { // steps {
sh "cd ${env.WORKSPACE}/src" // sh "cd ${env.WORKSPACE}/src"
sh "dotnet build -p:Version=0.1.0.${env.BUILD_NUMBER}" // sh "dotnet build -p:Version=0.1.0.${env.BUILD_NUMBER}"
} // }
} // }
stage('Testing') { // stage('Testing') {
steps { // steps {
sh "cd ${env.WORKSPACE}/src" // sh "cd ${env.WORKSPACE}/src"
sh "dotnet test" // sh "dotnet test"
} // }
} // }
} }
} }