removed debug output
This commit is contained in:
@@ -55,14 +55,6 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: debug SONAR_TOKEN
|
|
||||||
run: |
|
|
||||||
if [ -z "${{ secrets.SONAR_TOKEN }}" ]; then
|
|
||||||
echo "SONAR_TOKEN is empty"
|
|
||||||
else
|
|
||||||
echo "SONAR_TOKEN is set"
|
|
||||||
fi
|
|
||||||
|
|
||||||
- name: Prepare SSH
|
- name: Prepare SSH
|
||||||
run: |
|
run: |
|
||||||
install -m 600 -D /dev/null ~/.ssh/id_rsa
|
install -m 600 -D /dev/null ~/.ssh/id_rsa
|
||||||
@@ -89,7 +81,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Build with Maven
|
- name: Build with Maven
|
||||||
working-directory: source
|
working-directory: source
|
||||||
run: mvn -B clean verify sonar:sonar org.cyclonedx:cyclonedx-maven-plugin:makeAggregateBom -Dsonar.host.url="${{ inputs.sonar_host }}" -Dsonar.token="${{ secrets.SONAR_TOKEN }}"
|
run: mvn -B jacoco:prepare-agent verify sonar:sonar org.cyclonedx:cyclonedx-maven-plugin:makeAggregateBom -Dsonar.host.url="${{ inputs.sonar_host }}" -Dsonar.token="${{ secrets.SONAR_TOKEN }}"
|
||||||
|
|
||||||
- name: Upload SBOM to DTrack
|
- name: Upload SBOM to DTrack
|
||||||
uses: DependencyTrack/gh-upload-sbom@v3
|
uses: DependencyTrack/gh-upload-sbom@v3
|
||||||
|
|||||||
Reference in New Issue
Block a user