PR-18 #18

Merged
ecdown merged 12 commits from pullone into main 2026-09-30 00:04:47 -07:00
Showing only changes of commit 4fb07a618d - Show all commits
+11 -11
View File
@@ -56,13 +56,13 @@ bazel build --spawn_strategy=standalone //:run
passwordVariable: 'COV_PASSWORD', passwordVariable: 'COV_PASSWORD',
usernameVariable: 'COV_USER' usernameVariable: 'COV_USER'
)]) { )]) {
sh """ sh '''
cov-commit-defects --dir cov-int \ cov-commit-defects --dir cov-int \
--url ${COVERITY_URL} \ --url "${COVERITY_URL}" \
--stream ${COVERITY_STREAM} \ --stream "${COVERITY_STREAM}" \
--user ${COV_USER} \ --user "${COV_USER}" \
--password ${COV_PASSWORD} --password "${COV_PASSWORD}"
""" '''
} }
// 5. Package the completed full-build intermediate directory // 5. Package the completed full-build intermediate directory
sh ''' sh '''
@@ -142,7 +142,7 @@ bazel build --spawn_strategy=standalone //:run
sh ''' sh '''
rm -rf cov-int-pr baseline-cov-int rm -rf cov-int-pr baseline-cov-int
mkdir baseline-cov-int mkdir baseline-cov-int
tar -xzf "${COVERITY_BASELINE_ARCHIVE}' \ tar -xzf "${COVERITY_BASELINE_ARCHIVE}" \
-C baseline-cov-int -C baseline-cov-int
test -d baseline-cov-int/cov-int test -d baseline-cov-int/cov-int
@@ -157,12 +157,12 @@ bazel build --spawn_strategy=standalone //:run
""" """
// 6. Run fast desktop analysis on only changed files // 6. Run fast desktop analysis on only changed files
sh """ sh '''
cov-run-desktop --dir cov-int-pr \ cov-run-desktop --dir cov-int-pr \
--target-url ${COVERITY_URL} \ --target-url "${COVERITY_URL}" \
--stream ${COVERITY_PR_STREAM} \ --stream "${COVERITY_PR_STREAM}" \
${changedFiles.replaceAll('\n', ' ')} ${changedFiles.replaceAll('\n', ' ')}
""" '''
} }
} }
} }