updated sonar plugin #22
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: | |
- develop | |
jobs: | |
devops: | |
name: Test - Unit & Integration & SonarCloud Scan & Slack WebHook | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Set up Java | |
uses: actions/setup-java@v4 | |
with: | |
distribution: zulu | |
java-version: 21 | |
cache: maven | |
- name: Build & Unit & IT & FT & Sonar Analysis | |
run: > | |
mvn -B clean verify sonar:sonar | |
-Dsonar.projectKey=es.upm.miw:iwvg-devops | |
-Dsonar.organization=miw-upm-github | |
-Dsonar.host.url=https://sonarcloud.io | |
-Dsonar.token=${{ secrets.SONAR_TOKEN }} | |