manage Jenkinsfile(#57)
This commit is contained in:
Vendored
+30
-28
@@ -4,41 +4,43 @@ pipeline {
|
|||||||
}
|
}
|
||||||
|
|
||||||
stages{
|
stages{
|
||||||
parallel{
|
stage("parallel execution"){
|
||||||
stage("doxygen"){
|
parallel{
|
||||||
steps{
|
stage("doxygen"){
|
||||||
sh 'doxygen'
|
steps{
|
||||||
}
|
sh 'doxygen'
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
stage("validation"){
|
stage("validation"){
|
||||||
sh 'tools/validate/includeGuard.sh'
|
sh 'tools/validate/includeGuard.sh'
|
||||||
}
|
}
|
||||||
|
|
||||||
stages{
|
stages{
|
||||||
stage("prepare"){
|
stage("prepare"){
|
||||||
steps{
|
steps{
|
||||||
sh '''
|
sh '''
|
||||||
mkdir build
|
mkdir build
|
||||||
cd $_
|
cd $_
|
||||||
cmake .. -G ninja
|
cmake .. -G ninja
|
||||||
'''
|
'''
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
stage("build"){
|
||||||
|
sh '''
|
||||||
|
cd build ninja
|
||||||
|
'''
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
stage("build"){
|
stage("upload artifact"){
|
||||||
sh '''
|
steps{
|
||||||
cd build ninja
|
archiveArtifacts allowEmptyArchive: true, artifacts: 'help/**/*.*', onlyIfSuccessful: true
|
||||||
'''
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
stage("upload artifact"){
|
|
||||||
steps{
|
|
||||||
archiveArtifacts allowEmptyArchive: true, artifacts: 'help/**/*.*', onlyIfSuccessful: true
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user