Skip to content

Commit 37516b1

Browse files
committed
Display stacktrace when something goes wrong
Should prevent useless empty error messages
1 parent 9a6e05c commit 37516b1

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

.github/workflows/check-build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
cache: 'gradle'
4141

4242
- name: Build
43-
run: ./gradlew build buildPlugin --info
43+
run: ./gradlew build buildPlugin --info --stacktrace
4444

4545
- name: Try upload test reports when failure occurs
4646
uses: actions/upload-artifact@v4
@@ -95,7 +95,7 @@ jobs:
9595
cache: 'gradle'
9696

9797
- name: Run Checkstyle
98-
run: ./gradlew checkstyleMain checkstyleTest -PcheckstyleEnabled
98+
run: ./gradlew checkstyleMain checkstyleTest -PcheckstyleEnabled --stacktrace
9999

100100
pmd:
101101
runs-on: ubuntu-latest
@@ -118,7 +118,7 @@ jobs:
118118
cache: 'gradle'
119119

120120
- name: Run PMD
121-
run: ./gradlew pmdMain pmdTest -PpmdEnabled
121+
run: ./gradlew pmdMain pmdTest -PpmdEnabled --stacktrace
122122

123123
- name: Upload report
124124
if: always()

.github/workflows/check-ide-compatibility.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
java-version: 21
4545

4646
- name: Check compatibility
47-
run: ./gradlew verifyPlugin --info
47+
run: ./gradlew verifyPlugin --info --stacktrace
4848

4949
- name: Upload report
5050
uses: actions/upload-artifact@v4

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
cache: 'gradle'
2424

2525
- name: Build
26-
run: ./gradlew build buildPlugin --info
26+
run: ./gradlew build buildPlugin --info --stacktrace
2727

2828
- name: Check for uncommited changes
2929
run: |

.github/workflows/sonar.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ jobs:
6969

7070
- name: Build
7171
run: |
72-
./gradlew build sonar -x test --info \
72+
./gradlew build sonar -x test --info --stacktrace \
7373
-Dsonar.projectKey=${{ env.SONARCLOUD_ORG }}_${{ github.event.repository.name }} \
7474
-Dsonar.organization=${{ env.SONARCLOUD_ORG }} \
7575
-Dsonar.host.url=${{ env.SONARCLOUD_HOST }}

0 commit comments

Comments
 (0)