File tree Expand file tree Collapse file tree 1 file changed +16
-16
lines changed Expand file tree Collapse file tree 1 file changed +16
-16
lines changed Original file line number Diff line number Diff line change 24
24
run : |
25
25
git config --global --add safe.directory "$GITHUB_WORKSPACE"
26
26
27
- - name : π Sonar Scan
28
- if : github.ref == 'refs/heads/master'
29
- env :
30
- SONAR_TOKEN : ${{ secrets.SONARQUBE_TOKEN }}
31
- SONAR_HOST_URL : ${{ vars.SONARQUBE_HOST }}
32
- run : |
33
- mvn -B verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.projectKey=Demo-App-backend -Dsonar.projectName='Demo App backend'
34
-
35
- - name : π€ Sonar Summary
36
- if : github.ref == 'refs/heads/master'
37
- run : |
38
- {
39
- echo "### π€ Sonar Summary"
40
- echo "${{ vars.SONARQUBE_HOST }}"
41
- } >> $GITHUB_STEP_SUMMARY
42
-
43
27
- name : π§ͺ Unit Tests
44
28
run : |
45
29
mvn test -Dtest="CucumberUnitTest" -Dsurefire.failIfNoSpecifiedTests=false
70
54
name : π Integration Test Report
71
55
reporter : java-junit
72
56
path : " **/*CucumberIntegrationTest.xml"
57
+
58
+ - name : π Sonar Scan
59
+ if : github.ref == 'refs/heads/master'
60
+ env :
61
+ SONAR_TOKEN : ${{ secrets.SONARQUBE_TOKEN }}
62
+ SONAR_HOST_URL : ${{ vars.SONARQUBE_HOST }}
63
+ run : |
64
+ mvn -B verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.projectKey=Demo-App-backend -Dsonar.projectName='Demo App backend'
65
+
66
+ - name : π€ Sonar Summary
67
+ if : github.ref == 'refs/heads/master'
68
+ run : |
69
+ {
70
+ echo "### π€ Sonar Summary"
71
+ echo "${{ vars.SONARQUBE_HOST }}"
72
+ } >> $GITHUB_STEP_SUMMARY
You canβt perform that action at this time.
0 commit comments