update interpolation
This commit is contained in:
+11
-11
@@ -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', ' ')}
|
||||
"""
|
||||
'''
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user