Philipp Häfelfinger
745623e74d
All checks were successful
piwigodotnet/pipeline/head This commit looks good
36 lines
646 B
Groovy
36 lines
646 B
Groovy
pipeline {
|
|
agent {
|
|
docker { image 'node:16-alpine'}
|
|
}
|
|
|
|
stages {
|
|
// stage('Cloning repository') {
|
|
// steps {
|
|
// checkout scm
|
|
// }
|
|
// }
|
|
|
|
stage('nuget restore') {
|
|
steps {
|
|
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('Testing') {
|
|
// steps {
|
|
// sh "cd ${env.WORKSPACE}/src"
|
|
// sh "dotnet test"
|
|
// }
|
|
// }
|
|
}
|
|
}
|