diff --git a/Jenkinsfile_RamdiskImages b/Jenkinsfile_RamdiskImages index 2010ca2..6e71539 100644 --- a/Jenkinsfile_RamdiskImages +++ b/Jenkinsfile_RamdiskImages @@ -8,7 +8,7 @@ def yoctocommon pipeline { agent { node { - label 'oem-ci' + label "${params.NODE_NAME}" } } @@ -16,6 +16,7 @@ pipeline { choice(name: 'MACHINE', choices: ['select...', 'am335x-nrhw20', 'am335x-nmhw21', 'imx8-nmhw23', 'am335x-nmhw24', 'am335x-hw25', 'am335x-hw26'], description: 'choose target platform') choice(name: 'IMAGE_TYPE', choices: ['lava', 'fct', 'minimal'], description: 'choose image type') string(name: 'RLS_VERSION', defaultValue: '', description: 'Set the version to build and use committed submodules') + string(name: 'NODE_NAME', defaultValue: 'oem-ci', description: 'Overwrite default node name to build on') booleanParam(name: 'CLEAN_BUILD', defaultValue: false, description: 'clean all temp directories before build starts') } diff --git a/Jenkinsfile_mmcImages b/Jenkinsfile_mmcImages index 22aa52c..0fb28aa 100644 --- a/Jenkinsfile_mmcImages +++ b/Jenkinsfile_mmcImages @@ -8,7 +8,7 @@ def yoctocommon pipeline { agent { node { - label 'oem-ci' + label "${params.NODE_NAME}" } } @@ -16,6 +16,7 @@ pipeline { choice(name: 'MACHINE', choices: ['select...', 'am335x-nrhw20', 'am335x-nmhw21', 'imx8-nmhw23', 'am335x-nmhw24', 'am335x-hw25', 'am335x-hw26'], description: 'choose target platform') choice(name: 'IMAGE_TYPE', choices: ['dev', 'bootloader', 'release'], description: 'choose image type') string(name: 'RLS_VERSION', defaultValue: '', description: 'Set the version to build and use committed submodules') + string(name: 'NODE_NAME', defaultValue: 'oem-ci', description: 'Overwrite default node name to build on') booleanParam(name: 'CLEAN_BUILD', defaultValue: false, description: 'clean all temp directories before build starts') }