diff --git a/jenkins/shared-libraries/linux/vars/AnalyzeCodeQLDatabase.groovy b/jenkins/shared-libraries/linux/vars/AnalyzeCodeQLDatabase.groovy index a5a88d73..6c058a0c 100644 --- a/jenkins/shared-libraries/linux/vars/AnalyzeCodeQLDatabase.groovy +++ b/jenkins/shared-libraries/linux/vars/AnalyzeCodeQLDatabase.groovy @@ -63,7 +63,7 @@ def call(repo, language) { echo "The SARIF category has been configured to ois-${LANGUAGE}\${SEP}\${SUBDIR}" echo "Analyzing database" - "\$command" database analyze "${DATABASE_PATH}" --no-download ${CODEQL_THREADS_FLAG} ${CODEQL_RAM_FLAG} --sarif-category "ois-${LANGUAGE}\${SEP}\${SUBDIR}" --format sarif-latest --output "${SARIF_FILE}" "${QL_PACKS}" + "\$command" database analyze "${DATABASE_PATH}" --no-download ${CODEQL_THREADS_FLAG} ${CODEQL_RAM_FLAG} --sarif-category "ois-${LANGUAGE}\${SEP}\${SUBDIR}" --format sarifv2.10.0 --output "${SARIF_FILE}" "${QL_PACKS}" echo "Database analyzed" if [ "${ENABLE_CODEQL_DEBUG}" = true ]; then