From 5450485bec69b6745d2fe1aa649a2fefddf60fd8 Mon Sep 17 00:00:00 2001 From: yuanjingx87 <197832395+yuanjingx87@users.noreply.github.com> Date: Wed, 21 Jan 2026 11:45:19 -0800 Subject: [PATCH] [None][infra] Fix sonarQube job hang by create jenkins homd folder if not exist (#10830) Signed-off-by: Yuanjing Xue <197832395+yuanjingx87@users.noreply.github.com> --- jenkins/TensorRT_LLM_PLC.groovy | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/jenkins/TensorRT_LLM_PLC.groovy b/jenkins/TensorRT_LLM_PLC.groovy index 2ceb6c1978..1e9da1326f 100644 --- a/jenkins/TensorRT_LLM_PLC.groovy +++ b/jenkins/TensorRT_LLM_PLC.groovy @@ -113,6 +113,7 @@ def generate() def sonar_scan() { container("alpine") { + sh "mkdir -p $JENKINS_HOME" def scannerHome = tool 'sonarScanner' sh "apt update" sh "apt install -y git git-lfs openjdk-17-jdk" @@ -135,8 +136,8 @@ pipeline { } options { skipDefaultCheckout() - // to better analyze the time for each step/test timestamps() + timeout(time: 60, unit: 'MINUTES') } triggers {