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 {
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"
// }
// }
}
}