]> git.ipfire.org Git - location/libloc.git/commitdiff
jenkins: Fix installing development tools on Alma Linux
authorMichael Tremer <michael.tremer@ipfire.org>
Mon, 10 Mar 2025 15:22:18 +0000 (15:22 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 10 Mar 2025 15:22:18 +0000 (15:22 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Jenkinsfile

index e37d9af5b0909293ca084d05e401f52cdc7e2c17..b033e45f702864f4b55fe2bbc90b0c81a584bbf8 100644 (file)
@@ -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