Updated Jenkinsfile
This commit is contained in:
parent
51e05fa699
commit
6a2727a0fc
6
Jenkinsfile
vendored
6
Jenkinsfile
vendored
@ -19,13 +19,15 @@ pipeline {
|
|||||||
|
|
||||||
//Make specific flags
|
//Make specific flags
|
||||||
MAKE_OPTIONS = '-j 12'
|
MAKE_OPTIONS = '-j 12'
|
||||||
|
|
||||||
|
JENKINS_BUILD_TARGET="${params.target}"
|
||||||
}
|
}
|
||||||
|
|
||||||
stages {
|
stages {
|
||||||
/* first of all we have to update our libraries */
|
/* first of all we have to update our libraries */
|
||||||
stage ('libraries::update') {
|
stage ('libraries::update') {
|
||||||
when {
|
when {
|
||||||
expression { params.target != 'none' }
|
expression { params.target != "" && params.target != 'none' }
|
||||||
}
|
}
|
||||||
|
|
||||||
steps {
|
steps {
|
||||||
@ -52,7 +54,6 @@ pipeline {
|
|||||||
|
|
||||||
environment {
|
environment {
|
||||||
CMAKE_BUILD_TYPE="RelWithDebInfo" /* we build out libraries every time in release mode! (Performance improve) */
|
CMAKE_BUILD_TYPE="RelWithDebInfo" /* we build out libraries every time in release mode! (Performance improve) */
|
||||||
BUILD_TARGET=params.target
|
|
||||||
}
|
}
|
||||||
|
|
||||||
steps {
|
steps {
|
||||||
@ -138,7 +139,6 @@ pipeline {
|
|||||||
|
|
||||||
environment {
|
environment {
|
||||||
CMAKE_BUILD_TYPE="RelWithDebInfo" /* we build out libraries every time in release mode! (Performance improve) */
|
CMAKE_BUILD_TYPE="RelWithDebInfo" /* we build out libraries every time in release mode! (Performance improve) */
|
||||||
BUILD_TARGET=params.target
|
|
||||||
}
|
}
|
||||||
|
|
||||||
steps {
|
steps {
|
||||||
|
Loading…
Reference in New Issue
Block a user