Skip to content

Commit f99ad5a

Browse files
[NO JIRA] Fix Autoscan result, it was wrong in the CI because of the missing tests compilation (#4902)
1 parent 2a39d25 commit f99ad5a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.cirrus.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ autoscan_task:
260260
- source cirrus-env QA
261261
- source set_maven_build_version $BUILD_NUMBER
262262
- cd java-checks-test-sources
263-
- JAVA_HOME="${JAVA_LATEST_HOME}" mvn clean compile --batch-mode
263+
- JAVA_HOME="${JAVA_LATEST_HOME}" mvn clean compile test-compile --batch-mode
264264
- cd ../its/autoscan
265265
- mvn clean package --batch-mode --errors --show-version --activate-profiles it-autoscan -Dsonar.runtimeVersion=LATEST_RELEASE[10.3] -Dmaven.test.redirectTestOutputToFile=false -Dparallel=methods -DuseUnlimitedThreads=true
266266
cleanup_before_cache_script: cleanup_maven_repository
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"ruleKey": "S5786",
33
"hasTruePositives": true,
4-
"falseNegatives": 62,
4+
"falseNegatives": 63,
55
"falsePositives": 0
66
}

0 commit comments

Comments
 (0)