paths look better now
Some checks failed
piwigodotnet/pipeline/head There was a failure building this commit
Some checks failed
piwigodotnet/pipeline/head There was a failure building this commit
This commit is contained in:
parent
745623e74d
commit
a7d362f332
35
Jenkinsfile
vendored
35
Jenkinsfile
vendored
@ -4,32 +4,25 @@ pipeline {
|
|||||||
}
|
}
|
||||||
|
|
||||||
stages {
|
stages {
|
||||||
// stage('Cloning repository') {
|
|
||||||
// steps {
|
|
||||||
// checkout scm
|
|
||||||
// }
|
|
||||||
// }
|
|
||||||
|
|
||||||
stage('nuget restore') {
|
stage('nuget restore') {
|
||||||
steps {
|
steps {
|
||||||
sh "ls -la ${env.WORKSPACE}"
|
sh "cd ${env.WORKSPACE}/src"
|
||||||
// sh "cd ${env.WORKSPACE}/src"
|
sh "dotnet restore"
|
||||||
// sh "dotnet restore"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// stage('build') {
|
stage('build') {
|
||||||
// steps {
|
steps {
|
||||||
// sh "cd ${env.WORKSPACE}/src"
|
sh "cd ${env.WORKSPACE}/src"
|
||||||
// sh "dotnet build -p:Version=0.1.0.${env.BUILD_NUMBER}"
|
sh "dotnet build -p:Version=0.1.0.${env.BUILD_NUMBER}"
|
||||||
// }
|
}
|
||||||
// }
|
}
|
||||||
|
|
||||||
// stage('Testing') {
|
stage('Testing') {
|
||||||
// steps {
|
steps {
|
||||||
// sh "cd ${env.WORKSPACE}/src"
|
sh "cd ${env.WORKSPACE}/src"
|
||||||
// sh "dotnet test"
|
sh "dotnet test"
|
||||||
// }
|
}
|
||||||
// }
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user