Philipp Häfelfinger
c4b8dd5485
Some checks failed
piwigodotnet/pipeline/head There was a failure building this commit
31 lines
585 B
Groovy
31 lines
585 B
Groovy
pipeline {
|
|
agent {
|
|
docker { image 'mcr.microsoft.com/dotnet/sdk:6.0'}
|
|
}
|
|
|
|
environment {
|
|
DOTNET_CLI_HOME = "/tmp/DOTNET_CLI_HOME"
|
|
}
|
|
|
|
stages {
|
|
stage('nuget restore') {
|
|
steps {
|
|
sh "dotnet restore ${env.WORKSPACE}/src/PiwigoDotnet.sln"
|
|
}
|
|
}
|
|
|
|
// 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"
|
|
// }
|
|
// }
|
|
}
|
|
}
|