You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 22, 2025. It is now read-only.
Copy file name to clipboardExpand all lines: entrypoint.sh
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -8,13 +8,13 @@ if [[ -z "${SONAR_TOKEN}" ]]; then
8
8
fi
9
9
10
10
if [[ -f"${INPUT_PROJECTBASEDIR%/}/pom.xml" ]];then
11
-
echo"Maven project detected. You should run the goal 'org.sonarsource.scanner.maven:sonar' during build rather than using this GitHub Action."
12
-
exit 1
11
+
echo"WARNING! Maven project detected. Sonar recommends running the 'org.sonarsource.scanner.maven:sonar-maven-plugin:sonar' goal during the build process instead of using this GitHub Action
12
+
to get more accurate results."
13
13
fi
14
14
15
15
if [[ -f"${INPUT_PROJECTBASEDIR%/}/build.gradle"||-f"${INPUT_PROJECTBASEDIR%/}/build.gradle.kts" ]];then
16
-
echo"Gradle project detected. You should use the SonarQube plugin for Gradle during build rather than using this GitHub Action."
17
-
exit 1
16
+
echo"WARNING! Gradle project detected. Sonar recommends using the SonarQube plugin for Gradle during the build process instead of using this GitHub Action
0 commit comments