add dhcp servers
All checks were successful
Build / Build and analyze (push) Successful in 40s

This commit is contained in:
root
2024-09-17 14:37:03 +02:00
parent 4d561de370
commit 5ee07ff5db

View File

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