Skip to content

Commit bbd9fbe

Browse files
Bring the lldb-cmake-sanitized script in sync with the current version (#431)
of the lldb incremental bot.
1 parent 8de1942 commit bbd9fbe

File tree

1 file changed

+18
-3
lines changed

1 file changed

+18
-3
lines changed

zorg/jenkins/jobs/jobs/lldb-cmake-sanitized

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,11 +60,12 @@ pipeline {
6060
}
6161
stage('Setup Venv') {
6262
environment {
63-
PATH="$PATH:/usr/bin:/usr/local/bin"
63+
PATH="$PATH:/usr/bin:/usr/local/bin:/opt/homebrew/bin/"
6464
}
6565
steps {
6666
sh '''
67-
# Non-incremental, so always delete.
67+
# Non-incremental, so always delete just in case.
68+
rm -rf clang-build clang-install host-compiler *.tar.gz
6869
rm -rf venv
6970
python3 -m venv venv
7071
set +u
@@ -76,7 +77,7 @@ pipeline {
7677
}
7778
stage('Build') {
7879
environment {
79-
PATH="$PATH:/usr/bin:/usr/local/bin"
80+
PATH="$PATH:/usr/bin:/usr/local/bin:/opt/homebrew/bin/"
8081
}
8182
steps {
8283
timeout(240) {
@@ -114,6 +115,20 @@ pipeline {
114115
}
115116
}
116117
}
118+
stage('Clean Test Results') {
119+
environment {
120+
PATH="$PATH:/usr/bin:/usr/local/bin:/opt/homebrew/bin/"
121+
}
122+
steps {
123+
timeout(10) {
124+
sh '''
125+
set -u
126+
127+
rm -rf test/results.xml
128+
'''
129+
}
130+
}
131+
}
117132
stage('Test') {
118133
environment {
119134
PATH="$PATH:/usr/bin:/usr/local/bin"

0 commit comments

Comments
 (0)