From 18a4cd0fc1a27a7b527e9724b1482ca57c9b2ad6 Mon Sep 17 00:00:00 2001 From: Kiriti Gowda Date: Tue, 9 Jan 2024 12:28:09 -0800 Subject: [PATCH] Jenkins - Fix install (#158) --- .jenkins/common.groovy | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.jenkins/common.groovy b/.jenkins/common.groovy index 6d33aa993e..7bce602982 100644 --- a/.jenkins/common.groovy +++ b/.jenkins/common.groovy @@ -6,13 +6,13 @@ def runCompileCommand(platform, project, jobName, boolean debug=false, boolean s String buildTypeArg = debug ? '-DCMAKE_BUILD_TYPE=Debug' : '-DCMAKE_BUILD_TYPE=Release' String buildTypeDir = debug ? 'debug' : 'release' - String installDKMS = 'sudo apt install amdgpu-dkms' + String installDKMS = 'sudo apt -y install amdgpu-dkms' if (platform.jenkinsLabel.contains('rhel')) { - installDKMS = 'sudo yum install amdgpu-dkms' + installDKMS = 'sudo yum -y install amdgpu-dkms' } else if (platform.jenkinsLabel.contains('sles')) { - installDKMS = 'sudo zypper install amdgpu-dkms' + installDKMS = 'sudo zypper -n install amdgpu-dkms' } def command = """#!/usr/bin/env bash