manage Jenkinsfile(#57)
This commit is contained in:
Vendored
+16
-11
@@ -17,22 +17,27 @@ pipeline {
|
||||
sh 'tools/validate/includeGuard.sh'
|
||||
}
|
||||
}
|
||||
stage("build and test"){
|
||||
stages{
|
||||
stage("prepare"){
|
||||
steps{
|
||||
sh '''
|
||||
mkdir build
|
||||
cd $_
|
||||
cmake .. -G ninja
|
||||
'''
|
||||
}
|
||||
}
|
||||
|
||||
stages{
|
||||
stage("prepare"){
|
||||
steps{
|
||||
stage("build"){
|
||||
sh '''
|
||||
mkdir build
|
||||
cd $_
|
||||
cmake .. -G ninja
|
||||
cd build ninja
|
||||
'''
|
||||
}
|
||||
}
|
||||
|
||||
stage("build"){
|
||||
sh '''
|
||||
cd build ninja
|
||||
'''
|
||||
stage("test"){
|
||||
echo "test"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user