add dhcp servers
Some checks failed
Build / SonarQube Trigger (push) Failing after 17s

This commit is contained in:
root
2024-09-17 14:19:25 +02:00
parent 3299abee3f
commit a58f09009e

View File

@@ -6,22 +6,40 @@ on:
- main - main
jobs: # jobs:
build: # build:
name: Build and analyze # name: Build and analyze
runs-on: ubuntu-latest # runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v4
# with:
# fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
# - uses: sonarsource/sonarqube-scan-action@master
# env:
# 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 }}
jobs:
sonarqube:
name: SonarQube Trigger
runs-on: openjdk24
steps: steps:
- uses: actions/checkout@v4 - name: Checking out
uses: actions/checkout@v4
with: with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis # Disabling shallow clone is recommended for improving relevancy of reporting
- uses: sonarsource/sonarqube-scan-action@master fetch-depth: 0
env: - name: SonarQube Scan
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} uses: kitabisa/sonarqube-action@v1.2.0
SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }} with:
# If you wish to fail your job when the Quality Gate is red, uncomment the host: ${{ secrets.SONARQUBE_HOST }}
# following lines. This would typically be used to fail a deployment. login: ${{ secrets.SONARQUBE_TOKEN }}
# - uses: sonarsource/sonarqube-quality-gate-action@master
# timeout-minutes: 5
# env:
# SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}