Skip to content

Commit d6fb7f7

Browse files
yuanjingx87greg-kwasniewski1
authored andcommitted
[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>
1 parent 6fc7b4f commit d6fb7f7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

jenkins/TensorRT_LLM_PLC.groovy

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@ def generate()
113113
def sonar_scan()
114114
{
115115
container("alpine") {
116+
sh "mkdir -p $JENKINS_HOME"
116117
def scannerHome = tool 'sonarScanner'
117118
sh "apt update"
118119
sh "apt install -y git git-lfs openjdk-17-jdk"
@@ -135,8 +136,8 @@ pipeline {
135136
}
136137
options {
137138
skipDefaultCheckout()
138-
// to better analyze the time for each step/test
139139
timestamps()
140+
timeout(time: 60, unit: 'MINUTES')
140141
}
141142

142143
triggers {

0 commit comments

Comments
 (0)