Skip to content

Commit

Permalink
ci: sonar says it needs at least package
Browse files Browse the repository at this point in the history
so go back to what we had before
  • Loading branch information
teleivo committed Sep 24, 2024
1 parent 0bfc32e commit 5ad4f25
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/analyse-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,11 @@ jobs:
PR: ${{ github.event.number }}
if: github.event_name == 'pull_request'
run: |
mvn -f dhis-2/pom.xml clean verify --threads 2C --batch-mode --update-snapshots --no-transfer-progress -DskipTests
mvn -f dhis-2/pom.xml clean install --threads 2C --batch-mode --update-snapshots --no-transfer-progress -DskipTests
mvn -f dhis-2/pom.xml sonar:sonar -Dsonar.internal.analysis.dbd=false --batch-mode --no-transfer-progress -Dsonar.scm.revision=${{ github.event.pull_request.head.sha }} -Dsonar.projectKey=dhis2_dhis2-core
- name: Analyse long-living branch
if: github.event_name != 'pull_request'
run: |
mvn -f dhis-2/pom.xml clean verify --threads 2C --batch-mode --update-snapshots --no-transfer-progress -DskipTests
mvn -f dhis-2/pom.xml clean install --threads 2C --batch-mode --update-snapshots --no-transfer-progress -DskipTests
mvn -f dhis-2/pom.xml sonar:sonar -Dsonar.internal.analysis.dbd=false --batch-mode --no-transfer-progress -Dsonar.branch.name=${GITHUB_REF#refs/heads/} -Dsonar.projectKey=dhis2_dhis2-core

0 comments on commit 5ad4f25

Please sign in to comment.