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') {
steps {
sh "cd ${env.WORKSPACE}/src"
sh "dotnet restore"
sh "ls -la ${env.WORKSPACE}"
// sh "cd ${env.WORKSPACE}/src"
// sh "dotnet restore"
}
}
stage('build') {
steps {
sh "cd ${env.WORKSPACE}/src"
sh "dotnet build -p:Version=0.1.0.${env.BUILD_NUMBER}"
}
}
// stage('build') {
// steps {
// sh "cd ${env.WORKSPACE}/src"
// sh "dotnet build -p:Version=0.1.0.${env.BUILD_NUMBER}"
// }
// }
stage('Testing') {
steps {
sh "cd ${env.WORKSPACE}/src"
sh "dotnet test"
}
}
// stage('Testing') {
// steps {
// sh "cd ${env.WORKSPACE}/src"
// sh "dotnet test"
// }
// }
}
}