Skip to content

Commit d539a1a

Browse files
committed
Exp error reporting
1 parent 651cccd commit d539a1a

1 file changed

Lines changed: 12 additions & 5 deletions

File tree

.github/workflows/pr.yml

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,15 @@ on:
1111
- develop
1212

1313
env:
14+
ENTANDO_OPT_USE_PPL_TAG: "v1.0.1"
1415
ENTANDO_OPT_FEATURES: ${{ secrets.ENTANDO_OPT_FEATURES }}
1516
GIT_USER_NAME: ${{ secrets.GIT_USER_NAME }}
1617
GIT_USER_EMAIL: ${{ secrets.GIT_USER_EMAIL }}
17-
#ENTANDO_OPT_USE_PPL_TAG: ${{ secrets.ENTANDO_OPT_USE_PPL_TAG }}
18-
ENTANDO_OPT_USE_PPL_TAG: "engine-exp"
1918
ENTANDO_OPT_REPO_BOM_URL: ${{ secrets.ENTANDO_OPT_REPO_BOM_URL }}
2019
PPL_CONTEXT: ${{ toJson(github) }}
2120
REPO_FOLDER: "local-checkout"
22-
ENTANDO_OPT_LOG_LEVEL: ${{ secrets.ENTANDO_OPT_LOG_LEVEL }}
21+
#ENTANDO_OPT_LOG_LEVEL: ${{ secrets.ENTANDO_OPT_LOG_LEVEL }}
22+
ENTANDO_OPT_LOG_LEVEL: "###TRACE"
2323

2424

2525
jobs:
@@ -126,9 +126,16 @@ jobs:
126126
key: ${{ runner.os }}-sonar
127127
restore-keys: ${{ runner.os }}-sonar
128128
- name: "Build and analyze"
129+
id: SCAN
129130
if: steps.GATE.outputs.ENABLED == 'true'
130-
run: |
131-
~/ppl-run mvn SONAR --lcd "$REPO_FOLDER"
131+
run: |
132+
~/ppl-run mvn SONAR --id "SONAR" --lcd "$REPO_FOLDER" --out "$HOME/maven-result.log"
133+
- name: "Full output"
134+
if: ${{ always() }}
135+
run: |
136+
cat "$HOME/maven-result.log"
137+
- name: "Clean SKIP-SONAR"
138+
if: steps.GATE.outputs.ENABLED != 'true'
132139
run: |
133140
~/ppl-run @pr-labels remove "skip-sonar" --id "CLEAN-SKIP-SONAR"
134141
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

0 commit comments

Comments
 (0)