forked from Archive/PX4-Autopilot
Jenkins update CMAKE_BUILD_TYPE to PX4_CMAKE_BUILD_TYPE
This commit is contained in:
parent
92d288e8d4
commit
efbe63c1ca
|
@ -5,7 +5,7 @@ pipeline {
|
||||||
|
|
||||||
parameters {
|
parameters {
|
||||||
choice(
|
choice(
|
||||||
name: 'CMAKE_BUILD_TYPE',
|
name: 'PX4_CMAKE_BUILD_TYPE',
|
||||||
choices: ['RelWithDebInfo', 'Coverage', 'AddressSanitizer'],
|
choices: ['RelWithDebInfo', 'Coverage', 'AddressSanitizer'],
|
||||||
description: "CMake build type"
|
description: "CMake build type"
|
||||||
)
|
)
|
||||||
|
@ -74,7 +74,7 @@ pipeline {
|
||||||
sh 'make distclean'
|
sh 'make distclean'
|
||||||
}
|
}
|
||||||
when {
|
when {
|
||||||
environment name: 'CMAKE_BUILD_TYPE', value: 'Coverage'
|
environment name: 'PX4_CMAKE_BUILD_TYPE', value: 'Coverage'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue