SONARQUBE CONFIG
Some checks failed
Build and Push Quarkus Image / build-and-push (push) Failing after 2m48s
Some checks failed
Build and Push Quarkus Image / build-and-push (push) Failing after 2m48s
This commit is contained in:
@@ -29,13 +29,15 @@ jobs:
|
||||
distribution: 'temurin'
|
||||
|
||||
- name: SonarQube Analyse uitvoeren
|
||||
# We gebruiken hier de SonarQube parameters, met de token veilig als secret opgeslagen
|
||||
# Wacht op de Quality Gate en geef het pad naar het Jacoco rapport op
|
||||
run: |
|
||||
./mvnw clean verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar \
|
||||
-Dsonar.projectKey=Jobfindr \
|
||||
-Dsonar.projectName='Jobfindr' \
|
||||
-Dsonar.host.url=https://sonarqube.melvanveen.nl \
|
||||
-Dsonar.token=${{ secrets.SONAR_TOKEN }}
|
||||
-Dsonar.token=${{ secrets.SONAR_TOKEN }} \
|
||||
-Dsonar.qualitygate.wait=true \
|
||||
-Dsonar.coverage.jacoco.xmlReportPaths=target/jacoco-report/jacoco.xml
|
||||
|
||||
- name: Quarkus applicatie bouwen (.jar genereren)
|
||||
run: ./mvnw clean package -DskipTests
|
||||
@@ -46,7 +48,6 @@ jobs:
|
||||
registry: ${{ env.REGISTRY }}
|
||||
username: ${{ github.actor }}
|
||||
# Gitea genereert automatisch dit token, net als GitHub.
|
||||
# Deze heeft de rechten om packages te pushen.
|
||||
password: ${{ secrets.CR_PAT }}
|
||||
|
||||
- name: Docker image bouwen en pushen
|
||||
|
||||
Reference in New Issue
Block a user