manage Jenkinsfile(#57)

This commit is contained in:
keita
2021-02-25 17:53:36 +09:00
parent e015a0f1b6
commit 24dc22097f
Vendored
+16 -11
View File
@@ -17,22 +17,27 @@ pipeline {
sh 'tools/validate/includeGuard.sh' sh 'tools/validate/includeGuard.sh'
} }
} }
stage("build and test"){
stages{
stage("prepare"){
steps{
sh '''
mkdir build
cd $_
cmake .. -G ninja
'''
}
}
stages{ stage("build"){
stage("prepare"){
steps{
sh ''' sh '''
mkdir build cd build ninja
cd $_
cmake .. -G ninja
''' '''
} }
}
stage("build"){ stage("test"){
sh ''' echo "test"
cd build ninja }
'''
} }
} }
} }