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',
usernameVariable: 'COV_USER'
)]) {
sh """
sh '''
cov-commit-defects --dir cov-int \
--url ${COVERITY_URL} \
--stream ${COVERITY_STREAM} \
--user ${COV_USER} \
--password ${COV_PASSWORD}
"""
--url "${COVERITY_URL}" \
--stream "${COVERITY_STREAM}" \
--user "${COV_USER}" \
--password "${COV_PASSWORD}"
'''
}
// 5. Package the completed full-build intermediate directory
sh '''
@@ -142,7 +142,7 @@ bazel build --spawn_strategy=standalone //:run
sh '''
rm -rf cov-int-pr baseline-cov-int
mkdir baseline-cov-int
tar -xzf "${COVERITY_BASELINE_ARCHIVE}' \
tar -xzf "${COVERITY_BASELINE_ARCHIVE}" \
-C baseline-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
sh """
sh '''
cov-run-desktop --dir cov-int-pr \
--target-url ${COVERITY_URL} \
--stream ${COVERITY_PR_STREAM} \
--target-url "${COVERITY_URL}" \
--stream "${COVERITY_PR_STREAM}" \
${changedFiles.replaceAll('\n', ' ')}
"""
'''
}
}
}