mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-02 06:01:35 +08:00
Jenkins update CMAKE_BUILD_TYPE to PX4_CMAKE_BUILD_TYPE
This commit is contained in:
@@ -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'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user