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
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information
53
-
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} # Generate a token on Sonarcloud.io, add it to the secrets of this repo with the name SONAR_TOKEN (Settings > Secrets > Actions > add new repository secret)
19
+
steps:
20
+
- uses: actions/checkout@v2
21
+
with:
22
+
fetch-depth: 0# Shallow clones should be disabled for a better relevancy of analysis
23
+
- name: Set up JDK 11
24
+
uses: actions/setup-java@v1
54
25
with:
55
-
# Additional arguments for the sonarcloud scanner
56
-
args:
57
-
# Unique keys of your project and organization. You can find them in SonarCloud > Information (bottom-left menu)
58
-
# mandatory
59
-
-Dsonar.projectKey=liferay-db-setup-core-2_x
60
-
-Dsonar.organization=ableneo
61
-
# Comma-separated paths to directories containing main source files.
62
-
#-Dsonar.sources= # optional, default is project base directory
63
-
# When you need the analysis to take place in a directory other than the one from which it was launched
64
-
#-Dsonar.projectBaseDir= # optional, default is .
65
-
# Comma-separated paths to directories containing test source files.
66
-
#-Dsonar.tests= # optional. For more info about Code Coverage, please refer to https://docs.sonarcloud.io/enriching/test-coverage/overview/
67
-
# Adds more detail to both client and server-side analysis logs, activating DEBUG mode for the scanner, and adding client-side environment variables and system properties to the server-side log of analysis report processing.
0 commit comments