added quality build

This commit is contained in:
Tobias Lehmann 2024-09-30 10:28:05 +02:00
parent 355067b091
commit 7ddea5bb45

View File

@ -18,11 +18,17 @@ jobs:
steps:
- name: Checkout source code
uses: actions/checkout@v4
- name: Download build artifacts (dist files)
uses: actions/download-artifact@v3
with:
name: artifacts-build
path: build/
token: ${{ secrets.GIT_ACCESS_TOKEN }}
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
run: |
echo "Repository ${{ gitea.repository }}"
@ -30,4 +36,8 @@ jobs:
echo "Ref ${{ gitea.ref }}"
echo "sha ${{ gitea.sha }}"
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=''