added quality build
This commit is contained in:
parent
355067b091
commit
7ddea5bb45
@ -18,11 +18,17 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Checkout source code
|
- name: Checkout source code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
- name: Download build artifacts (dist files)
|
|
||||||
uses: actions/download-artifact@v3
|
|
||||||
with:
|
with:
|
||||||
name: artifacts-build
|
token: ${{ secrets.GIT_ACCESS_TOKEN }}
|
||||||
path: build/
|
submodules: 'true'
|
||||||
|
- name: Setup java runtime
|
||||||
|
uses: actions/setup-java@v4
|
||||||
|
with:
|
||||||
|
distribution: 'zulu'
|
||||||
|
java-version: '21'
|
||||||
|
- name: Run gradle build process
|
||||||
|
run: |
|
||||||
|
./gradlew build
|
||||||
- name: Echo repo
|
- name: Echo repo
|
||||||
run: |
|
run: |
|
||||||
echo "Repository ${{ gitea.repository }}"
|
echo "Repository ${{ gitea.repository }}"
|
||||||
@ -31,3 +37,7 @@ jobs:
|
|||||||
echo "sha ${{ gitea.sha }}"
|
echo "sha ${{ gitea.sha }}"
|
||||||
echo "tag_name ${{ gitea.tag_name }}"
|
echo "tag_name ${{ gitea.tag_name }}"
|
||||||
echo "revision ${{ gitea.revision }}"
|
echo "revision ${{ gitea.revision }}"
|
||||||
|
echo "branch ${{ gitea.branch }}"
|
||||||
|
- name: Run quality measurement
|
||||||
|
run: |
|
||||||
|
- ./gradlew qualityCheck -PBRANCH_NAME=${{ gitea.ref_name }}E -PBRANCH_REVISION=${{ gitea.sha }} -PTAG_NAME=${{ gitea.tag_name }} -Dsonar.host.url=${{ secrets.SONARQUBE_HOST }} -Dsonar.login=${{ secrets.SONARQUBE_TOKEN }} -Dsonar.password=''
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user