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