Skip to content

Fix sonar command but still await user token #44

Fix sonar command but still await user token

Fix sonar command but still await user token #44

Workflow file for this run

name: Build
on:
push:
branches:
- main
- feature/37-sonar-cube-pipeline
jobs:
build:
name: Build # Comment
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
- name: Set up JDK 21
uses: actions/setup-java@v1
with:
java-version: 21
- name: Build and analyze
run: mvn clean verify sonar:sonar -Dsonar.login=${{ secrets.SONAR_TOKEN }}