manage Jenkinsfile(#57)

This commit is contained in:
keita
2021-02-25 17:47:43 +09:00
parent 1bfc305662
commit 7cc8c59d0b
Vendored
+30 -28
View File
@@ -4,41 +4,43 @@ pipeline {
}
stages{
parallel{
stage("doxygen"){
steps{
sh 'doxygen'
}
}
stage("parallel execution"){
parallel{
stage("doxygen"){
steps{
sh 'doxygen'
}
}
stage("validation"){
sh 'tools/validate/includeGuard.sh'
}
stage("validation"){
sh 'tools/validate/includeGuard.sh'
}
stages{
stage("prepare"){
steps{
sh '''
mkdir build
cd $_
cmake .. -G ninja
'''
stages{
stage("prepare"){
steps{
sh '''
mkdir build
cd $_
cmake .. -G ninja
'''
}
}
stage("build"){
sh '''
cd build ninja
'''
}
}
}
}
stage("build"){
sh '''
cd build ninja
'''
stage("upload artifact"){
steps{
archiveArtifacts allowEmptyArchive: true, artifacts: 'help/**/*.*', onlyIfSuccessful: true
}
}
}
stage("upload artifact"){
steps{
archiveArtifacts allowEmptyArchive: true, artifacts: 'help/**/*.*', onlyIfSuccessful: true
}
}
}
}