Updated Jenkinsfile
This commit is contained in:
Vendored
+58
-18
@@ -34,12 +34,26 @@ pipeline {
|
||||
expression { params.build_libraries }
|
||||
}
|
||||
|
||||
steps {
|
||||
sh 'apt-get update'
|
||||
sh 'git reset --hard origin/master; git submodule update --init --remote --recursive --force'
|
||||
sh 'git submodule update --merge'
|
||||
sh './attach_modules.sh'
|
||||
sh 'cd libraries; ./build.sh'
|
||||
|
||||
stages {
|
||||
stage ('Updating libraries') {
|
||||
steps {
|
||||
sh 'apt-get update'
|
||||
sh 'git reset --hard origin/master; git submodule update --init --remote --recursive --force'
|
||||
sh 'git submodule update --merge'
|
||||
sh './attach_modules.sh'
|
||||
}
|
||||
}
|
||||
|
||||
stage ('Building libraries') {
|
||||
when {
|
||||
expression { params.build_libraries }
|
||||
}
|
||||
|
||||
steps {
|
||||
sh 'cd libraries; ./build.sh'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -79,13 +93,26 @@ pipeline {
|
||||
expression { params.build_libraries }
|
||||
}
|
||||
|
||||
steps {
|
||||
sh 'apt-get update'
|
||||
sh 'git reset --hard origin/master; git submodule update --init --remote --recursive --force'
|
||||
sh 'git submodule update --merge'
|
||||
sh './attach_modules.sh'
|
||||
sh 'cd libraries; ./build.sh'
|
||||
|
||||
stages {
|
||||
stage ('Updating libraries') {
|
||||
steps {
|
||||
sh 'apt-get update'
|
||||
sh 'git reset --hard origin/master; git submodule update --init --remote --recursive --force'
|
||||
sh 'git submodule update --merge'
|
||||
sh './attach_modules.sh'
|
||||
}
|
||||
}
|
||||
|
||||
stage ('Building libraries') {
|
||||
when {
|
||||
expression { params.build_libraries }
|
||||
}
|
||||
|
||||
steps {
|
||||
sh 'cd libraries; ./build.sh'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -126,13 +153,26 @@ pipeline {
|
||||
expression { params.build_libraries }
|
||||
}
|
||||
|
||||
steps {
|
||||
sh 'apt-get update'
|
||||
sh 'git reset --hard origin/master; git submodule update --init --remote --recursive --force'
|
||||
sh 'git submodule update --merge'
|
||||
sh './attach_modules.sh'
|
||||
sh 'cd libraries; ./build.sh'
|
||||
|
||||
stages {
|
||||
stage ('Updating libraries') {
|
||||
steps {
|
||||
sh 'apt-get update'
|
||||
sh 'git reset --hard origin/master; git submodule update --init --remote --recursive --force'
|
||||
sh 'git submodule update --merge'
|
||||
sh './attach_modules.sh'
|
||||
}
|
||||
}
|
||||
|
||||
stage ('Building libraries') {
|
||||
when {
|
||||
expression { params.build_libraries }
|
||||
}
|
||||
|
||||
steps {
|
||||
sh 'cd libraries; ./build.sh'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user