Coverity: Do not specify tool version
The tool downloaded from https://scan.coverity.com/download/linux64 is
always the latest version. And the version number is included in the
folder name of the tool.
To avoid unexpected error of wrong path when the tool version got
updated, do not specify coverity tool version.
Signed-off-by: Xinyu Zhang <xinyu.zhang@arm.com>
Change-Id: Ifcc6a9b0341538364a1f7fa1fcc7b97fb8720368
diff --git a/tf-m-coverity.yaml b/tf-m-coverity.yaml
index b22bb24..8eb29c3 100644
--- a/tf-m-coverity.yaml
+++ b/tf-m-coverity.yaml
@@ -1,5 +1,5 @@
#-------------------------------------------------------------------------------
-# Copyright (c) 2020-2022, Arm Limited. All rights reserved.
+# Copyright (c) 2020-2023, Arm Limited. All rights reserved.
#
# SPDX-License-Identifier: BSD-3-Clause
#
@@ -57,9 +57,6 @@
- string:
name: TF_GERRIT_REFSPEC
default: '+refs/heads/master:refs/remotes/origin/master'
- - string:
- name: COVERITY_VERSION
- default: '2020.09'
- bool:
name: UPLOAD_TO_COVERITY_SCAN_ONLINE
default: true
@@ -84,7 +81,7 @@
--post-data "token=${TF_M_COVERITY_SCAN_TOKEN}&project=Trusted+Firmware-M" \
-O coverity_tool.tgz
tar -xzf coverity_tool.tgz
- mv cov-analysis-linux64-${COVERITY_VERSION} coverity
+ mv cov-analysis-linux64* coverity
export PATH=${WORKSPACE}/coverity/bin:${PATH}
# Run coverity