diff --git a/Jenkinsfile b/Jenkinsfile index 56c444b..8b659b7 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -4,32 +4,25 @@ pipeline { } stages { - // stage('Cloning repository') { - // steps { - // checkout scm - // } - // } - stage('nuget restore') { steps { - sh "ls -la ${env.WORKSPACE}" -// sh "cd ${env.WORKSPACE}/src" -// sh "dotnet restore" + 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('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" - // } - // } + stage('Testing') { + steps { + sh "cd ${env.WORKSPACE}/src" + sh "dotnet test" + } + } } }