next try
Some checks failed
piwigodotnet/pipeline/head There was a failure building this commit

This commit is contained in:
Philipp Häfelfinger 2022-10-25 22:43:46 +02:00
parent 2e09df694d
commit c4b8dd5485

26
Jenkinsfile vendored
View File

@ -10,23 +10,21 @@ pipeline {
stages { stages {
stage('nuget restore') { stage('nuget restore') {
steps { steps {
sh "cd ${env.WORKSPACE}/src" sh "dotnet restore ${env.WORKSPACE}/src/PiwigoDotnet.sln"
sh "dotnet restore"
} }
} }
stage('build') { // stage('build') {
steps { // steps {
sh "cd ${env.WORKSPACE}/src" // sh "dotnet build -p:Version=0.1.0.${env.BUILD_NUMBER} ${env.WORKSPACE}/src/PiwigoDotnet.sln"
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"
} // }
} // }
} }
} }