piwigodotnet/Jenkinsfile
Philipp Häfelfinger 8a060bd578
All checks were successful
piwigodotnet/pipeline/head This commit looks good
try to discover paths
2022-10-25 22:28:54 +02:00

42 lines
710 B
Groovy

pipeline {
agent {
docker { image 'node:16-alpine'}
}
stages {
stage ('Clean workspace') {
steps {
cleanWs()
}
}
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"
// }
// }
}
}