From 7453ad74db6e706c5b1e63b16d2552ed168911f8 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Mon, 10 Mar 2025 15:22:18 +0000 Subject: [PATCH] jenkins: Fix installing development tools on Alma Linux Signed-off-by: Michael Tremer --- Jenkinsfile | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index e37d9af..b033e45 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -453,11 +453,15 @@ pipeline { // Installs everything we need on RHEL/Fedora/etc. def installBuildDepsRedHat(distro, compier) { // Install basic development tools - sh "dnf group install -y development-tools" - - // Enable CodeReady Builder for Almalinux 9 if (distro.contains("almalinux:9")) { + sh "dnf group install -y 'Development Tools'" + + // Enable CodeReady Builder for Almalinux 9 sh "dnf config-manager --set-enabled crb" + + // Other distributions + } else { + sh "dnf group install -y development-tools" } // Install our own build and runtime dependencies -- 2.39.5