manage Jenkinsfile(#57)

This commit is contained in:
keita
2021-02-25 17:43:12 +09:00
parent 0beb522359
commit 1bfc305662
Vendored
+33 -2
View File
@@ -4,10 +4,41 @@ pipeline {
} }
stages{ stages{
stage("Hello"){ parallel{
stage("doxygen"){
steps{ steps{
echo "Hello from Jenkins" sh 'doxygen'
}
}
stage("validation"){
sh 'tools/validate/includeGuard.sh'
}
stages{
stage("prepare"){
steps{
sh '''
mkdir build
cd $_
cmake .. -G ninja
'''
}
}
stage("build"){
sh '''
cd build ninja
'''
} }
} }
} }
stage("upload artifact"){
steps{
archiveArtifacts allowEmptyArchive: true, artifacts: 'help/**/*.*', onlyIfSuccessful: true
}
}
}
} }