Skip to content

Commit d7f9aee

Browse files
committedOct 28, 2024··
build: Force rerun of integrationTest task
1 parent 2e65a8e commit d7f9aee

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
 

‎.github/workflows/build.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333

3434
- name: Run zpa-checks integration tests
3535
run: |
36-
./gradlew :zpa-checks:integrationTest
36+
./gradlew :zpa-checks:integrationTest --rerun
3737
cat zpa-checks/build/integrationTest/progress-summary.md >> $GITHUB_STEP_SUMMARY
3838
3939
- name: Build custom rules example
@@ -78,15 +78,15 @@ jobs:
7878

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

8383
- if: ${{ contains(matrix.sqVersion, 'SNAPSHOT') }}
8484
name: Run plugin integration test
8585
run: |
8686
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 }}" \
8787
-u "$AUTH_REPOSITORY" \
8888
-o sonar-zpa-plugin/sonar-application-${{ matrix.sqVersion }}.zip
89-
./gradlew :sonar-zpa-plugin:integrationTest -Dsonar.zipFile=sonar-application-${{ matrix.sqVersion }}.zip --info
89+
./gradlew :sonar-zpa-plugin:integrationTest -Dsonar.zipFile=sonar-application-${{ matrix.sqVersion }}.zip --rerun --info
9090
env:
9191
AUTH_REPOSITORY: ${{ secrets.AUTH_REPOSITORY }}
9292

0 commit comments

Comments
 (0)
Please sign in to comment.