add dhcp servers
Some checks failed
Build / Build and analyze (push) Failing after 10s

This commit is contained in:
root
2024-09-17 13:06:10 +02:00
parent 68b7ec2b08
commit 8f1e82e2bf
2 changed files with 19 additions and 28 deletions

View File

@@ -1,5 +0,0 @@
sonar.projectKey=sqp_6999f73c459923e45f140e7e46f9768b2c1ad9da
# relative paths to source directories. More details and properties are described
# at https://docs.sonarqube.org/latest/project-administration/narrowing-the-focus/
sonar.sources=.

View File

@@ -1,31 +1,27 @@
name: Build
on: on:
push: push:
branches: branches:
- main - main
# pull_request:
# types: [opened, synchronize, reopened]
name: SonarQube Scan
jobs: jobs:
sonarqube: build:
name: SonarQube Trigger name: Build and analyze
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
# - run: apk add --no-cache nodejs docker - uses: actions/checkout@v4
- name: Checking out with:
uses: actions/checkout@v4 fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
with: - uses: sonarsource/sonarqube-scan-action@master
# Disabling shallow clone is recommended for improving relevancy of reporting env:
fetch-depth: 0 SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
- uses: actions/setup-java@v4 SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }}
with: # If you wish to fail your job when the Quality Gate is red, uncomment the
distribution: 'temurin' # See 'Supported distributions' for available options # following lines. This would typically be used to fail a deployment.
java-version: '21' # - uses: sonarsource/sonarqube-quality-gate-action@master
- name: SonarQube Scan # timeout-minutes: 5
uses: sonarsource/sonarqube-scan-action@v2.1.0 # env:
env: # SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONARQUBE_TOKEN }}
SONAR_HOST_URL: ${{ secrets.SONARQUBE_HOST }}
# with:
# host: ${{ secrets.SONARQUBE_HOST }}
# login: ${{ secrets.SONARQUBE_TOKEN }}