File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3939 'rolling' : '' # use default
4040}
4141
42+ ROS_DISTRO_TO_RHEL_DISTRO = {
43+ 'humble' : '8' ,
44+ 'iron' : '9' ,
45+ 'jazzy' : '9' ,
46+ 'rolling' : '' # use default
47+ }
4248
4349def panic (msg : str ) -> None :
4450 raise RuntimeError ('Panic: ' + msg )
@@ -225,6 +231,7 @@ def run_jenkins_build(
225231 """
226232 # intentionally raises key_error on unknown distro
227233 ubuntu_distro = ROS_DISTRO_TO_UBUNTU_DISTRO [target_release ]
234+ rhel_distro = ROS_DISTRO_TO_RHEL_DISTRO [target_release ]
228235
229236 from jenkinsapi .jenkins import Jenkins
230237 logger .info ('Connecting to Jenkins server' )
@@ -255,6 +262,8 @@ def run_jenkins_build(
255262 build_params ['CI_TEST_ARGS' ] += f' { test_args } '
256263 if ubuntu_distro :
257264 build_params ['CI_UBUNTU_DISTRO' ] = ubuntu_distro
265+ if rhel_distro :
266+ build_params ['CI_EL_RELEASE' ] = rhel_distro
258267
259268 # Start the build and wait until it is completed. ci_launcher exits immediately after
260269 # queuing the child builds, so this should only take a few seconds
You can’t perform that action at this time.
0 commit comments