Skip to content

Commit

Permalink
build: Force rerun of integrationTest task
Browse files Browse the repository at this point in the history
  • Loading branch information
felipebz committed Oct 28, 2024
1 parent 2e65a8e commit d7f9aee
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:

- name: Run zpa-checks integration tests
run: |
./gradlew :zpa-checks:integrationTest
./gradlew :zpa-checks:integrationTest --rerun
cat zpa-checks/build/integrationTest/progress-summary.md >> $GITHUB_STEP_SUMMARY
- name: Build custom rules example
Expand Down Expand Up @@ -78,15 +78,15 @@ jobs:

- if: ${{ !contains(matrix.sqVersion, 'SNAPSHOT') }}
name: Run plugin integration test
run: ./gradlew :sonar-zpa-plugin:integrationTest -Dsonar.runtimeVersion=${{ matrix.sqVersion }} --info
run: ./gradlew :sonar-zpa-plugin:integrationTest -Dsonar.runtimeVersion=${{ matrix.sqVersion }} --rerun --info

- if: ${{ contains(matrix.sqVersion, 'SNAPSHOT') }}
name: Run plugin integration test
run: |
curl -s -L "https://nexus.felipezorzo.com.br/service/rest/v1/search/assets/download?repository=maven-snapshots&maven.groupId=org.sonarsource.sonarqube&maven.artifactId=sonar-application&maven.extension=zip&sort=version&maven.baseVersion=${{ matrix.sqVersion }}" \
-u "$AUTH_REPOSITORY" \
-o sonar-zpa-plugin/sonar-application-${{ matrix.sqVersion }}.zip
./gradlew :sonar-zpa-plugin:integrationTest -Dsonar.zipFile=sonar-application-${{ matrix.sqVersion }}.zip --info
./gradlew :sonar-zpa-plugin:integrationTest -Dsonar.zipFile=sonar-application-${{ matrix.sqVersion }}.zip --rerun --info
env:
AUTH_REPOSITORY: ${{ secrets.AUTH_REPOSITORY }}

Expand Down

0 comments on commit d7f9aee

Please sign in to comment.