manage Jenkinsfile(#57)
This commit is contained in:
Vendored
+33
-2
@@ -4,10 +4,41 @@ pipeline {
|
||||
}
|
||||
|
||||
stages{
|
||||
stage("Hello"){
|
||||
parallel{
|
||||
stage("doxygen"){
|
||||
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
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user