Change report portal description to git commit hash (#2668)
Co-authored-by: Hien To <tominhhien97@gmail.com>
This commit is contained in:
parent
2931a46799
commit
3be0b3af65
@ -59,18 +59,16 @@ jobs:
|
|||||||
- name: Get Commit Message for PR
|
- name: Get Commit Message for PR
|
||||||
if : github.event_name == 'pull_request'
|
if : github.event_name == 'pull_request'
|
||||||
run: |
|
run: |
|
||||||
MSG=$(git log --format=%B -n 1 ${{github.event.after}})
|
echo "REPORT_PORTAL_DESCRIPTION=${{github.event.after}})" >> $GITHUB_ENV
|
||||||
echo "COMMIT_MESSAGE=${MSG}" >> $GITHUB_ENV
|
|
||||||
|
|
||||||
- name: Get Commit Message for push event
|
- name: Get Commit Message for push event
|
||||||
if : github.event_name == 'push'
|
if : github.event_name == 'push'
|
||||||
run: |
|
run: |
|
||||||
MSG=$(git log --format=%B -n 1 ${{github.sha}})
|
echo "REPORT_PORTAL_DESCRIPTION=${{github.sha}})" >> $GITHUB_ENV
|
||||||
echo "COMMIT_MESSAGE=${MSG}" >> $GITHUB_ENV
|
|
||||||
|
|
||||||
- name: "Config report portal"
|
- name: "Config report portal"
|
||||||
run: |
|
run: |
|
||||||
make update-playwright-config REPORT_PORTAL_URL=${{ secrets.REPORT_PORTAL_URL }} REPORT_PORTAL_API_KEY=${{ secrets.REPORT_PORTAL_API_KEY }} REPORT_PORTAL_PROJECT_NAME=${{ secrets.REPORT_PORTAL_PROJECT_NAME }} REPORT_PORTAL_LAUNCH_NAME="Jan App macos" REPORT_PORTAL_DESCRIPTION="${{env.COMMIT_MESSAGE}}"
|
make update-playwright-config REPORT_PORTAL_URL=${{ secrets.REPORT_PORTAL_URL }} REPORT_PORTAL_API_KEY=${{ secrets.REPORT_PORTAL_API_KEY }} REPORT_PORTAL_PROJECT_NAME=${{ secrets.REPORT_PORTAL_PROJECT_NAME }} REPORT_PORTAL_LAUNCH_NAME="Jan App macos" REPORT_PORTAL_DESCRIPTION="${{env.REPORT_PORTAL_DESCRIPTION}}"
|
||||||
|
|
||||||
- name: Linter and test
|
- name: Linter and test
|
||||||
run: |
|
run: |
|
||||||
@ -139,13 +137,12 @@ jobs:
|
|||||||
if : github.event_name == 'push'
|
if : github.event_name == 'push'
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
MSG=$(git log --format=%B -n 1 ${{github.sha}})
|
echo "REPORT_PORTAL_DESCRIPTION=${{github.sha}}" >> $GITHUB_ENV
|
||||||
echo "COMMIT_MESSAGE=${MSG}" >> $GITHUB_ENV
|
|
||||||
|
|
||||||
- name: "Config report portal"
|
- name: "Config report portal"
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
make update-playwright-config REPORT_PORTAL_URL=${{ secrets.REPORT_PORTAL_URL }} REPORT_PORTAL_API_KEY=${{ secrets.REPORT_PORTAL_API_KEY }} REPORT_PORTAL_PROJECT_NAME=${{ secrets.REPORT_PORTAL_PROJECT_NAME }} REPORT_PORTAL_LAUNCH_NAME="Jan App Windows ${{ matrix.antivirus-tools }}" REPORT_PORTAL_DESCRIPTION="${{env.COMMIT_MESSAGE}}"
|
make update-playwright-config REPORT_PORTAL_URL=${{ secrets.REPORT_PORTAL_URL }} REPORT_PORTAL_API_KEY=${{ secrets.REPORT_PORTAL_API_KEY }} REPORT_PORTAL_PROJECT_NAME=${{ secrets.REPORT_PORTAL_PROJECT_NAME }} REPORT_PORTAL_LAUNCH_NAME="Jan App Windows ${{ matrix.antivirus-tools }}" REPORT_PORTAL_DESCRIPTION="${{env.REPORT_PORTAL_DESCRIPTION}}"
|
||||||
|
|
||||||
- name: Linter and test
|
- name: Linter and test
|
||||||
shell: powershell
|
shell: powershell
|
||||||
@ -182,13 +179,12 @@ jobs:
|
|||||||
if : github.event_name == 'pull_request'
|
if : github.event_name == 'pull_request'
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
MSG=$(git log --format=%B -n 1 ${{github.event.after}})
|
echo "REPORT_PORTAL_DESCRIPTION=${{github.event.after}}" >> $GITHUB_ENV
|
||||||
echo "COMMIT_MESSAGE=${MSG}" >> $GITHUB_ENV
|
|
||||||
|
|
||||||
- name: "Config report portal"
|
- name: "Config report portal"
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
make update-playwright-config REPORT_PORTAL_URL=${{ secrets.REPORT_PORTAL_URL }} REPORT_PORTAL_API_KEY=${{ secrets.REPORT_PORTAL_API_KEY }} REPORT_PORTAL_PROJECT_NAME=${{ secrets.REPORT_PORTAL_PROJECT_NAME }} REPORT_PORTAL_LAUNCH_NAME="Jan App Windows" REPORT_PORTAL_DESCRIPTION="${{env.COMMIT_MESSAGE}}"
|
make update-playwright-config REPORT_PORTAL_URL=${{ secrets.REPORT_PORTAL_URL }} REPORT_PORTAL_API_KEY=${{ secrets.REPORT_PORTAL_API_KEY }} REPORT_PORTAL_PROJECT_NAME=${{ secrets.REPORT_PORTAL_PROJECT_NAME }} REPORT_PORTAL_LAUNCH_NAME="Jan App Windows" REPORT_PORTAL_DESCRIPTION="${{env.REPORT_PORTAL_DESCRIPTION}}"
|
||||||
|
|
||||||
- name: Linter and test
|
- name: Linter and test
|
||||||
shell: powershell
|
shell: powershell
|
||||||
@ -252,19 +248,17 @@ jobs:
|
|||||||
- name: Get Commit Message for PR
|
- name: Get Commit Message for PR
|
||||||
if : github.event_name == 'pull_request'
|
if : github.event_name == 'pull_request'
|
||||||
run: |
|
run: |
|
||||||
MSG=$(git log --format=%B -n 1 ${{github.event.after}})
|
echo "REPORT_PORTAL_DESCRIPTION=${{github.event.after}}" >> $GITHUB_ENV
|
||||||
echo "COMMIT_MESSAGE=${MSG}" >> $GITHUB_ENV
|
|
||||||
|
|
||||||
- name: Get Commit Message for push event
|
- name: Get Commit Message for push event
|
||||||
if : github.event_name == 'push'
|
if : github.event_name == 'push'
|
||||||
run: |
|
run: |
|
||||||
MSG=$(git log --format=%B -n 1 ${{github.sha}})
|
echo "REPORT_PORTAL_DESCRIPTION=${{github.sha}}" >> $GITHUB_ENV
|
||||||
echo "COMMIT_MESSAGE=${MSG}" >> $GITHUB_ENV
|
|
||||||
|
|
||||||
- name: "Config report portal"
|
- name: "Config report portal"
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
make update-playwright-config REPORT_PORTAL_URL=${{ secrets.REPORT_PORTAL_URL }} REPORT_PORTAL_API_KEY=${{ secrets.REPORT_PORTAL_API_KEY }} REPORT_PORTAL_PROJECT_NAME=${{ secrets.REPORT_PORTAL_PROJECT_NAME }} REPORT_PORTAL_LAUNCH_NAME="Jan App Linux" REPORT_PORTAL_DESCRIPTION="${{env.COMMIT_MESSAGE}}"
|
make update-playwright-config REPORT_PORTAL_URL=${{ secrets.REPORT_PORTAL_URL }} REPORT_PORTAL_API_KEY=${{ secrets.REPORT_PORTAL_API_KEY }} REPORT_PORTAL_PROJECT_NAME=${{ secrets.REPORT_PORTAL_PROJECT_NAME }} REPORT_PORTAL_LAUNCH_NAME="Jan App Linux" REPORT_PORTAL_DESCRIPTION="${{env.REPORT_PORTAL_DESCRIPTION}}"
|
||||||
|
|
||||||
- name: Linter and test
|
- name: Linter and test
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user