This commit is contained in:
@@ -31,25 +31,6 @@ jobs:
|
||||
dotnet tool install --global dotnet-sonarscanner
|
||||
echo "$HOME/.dotnet/tools" >> $GITHUB_PATH
|
||||
|
||||
- name: Debug Connectivity
|
||||
env:
|
||||
HOST: ${{ secrets.SONAR_HOST_URL }}
|
||||
TOKEN: ${{ secrets.SONAR_TOKEN }}
|
||||
run: |
|
||||
echo "Token length: ${#TOKEN}"
|
||||
curl -s -o /dev/null -w "status endpoint: %{http_code}\n" "$HOST/api/system/status"
|
||||
echo "Validate response:"
|
||||
curl -s -u "$TOKEN:" "$HOST/api/authentication/validate"
|
||||
echo
|
||||
|
||||
- name: Token Fingerprint
|
||||
env:
|
||||
TOKEN: ${{ secrets.SONAR_TOKEN }}
|
||||
run: |
|
||||
echo "Length: ${#TOKEN}"
|
||||
echo -n "$TOKEN" | sha256sum
|
||||
echo -n "$TOKEN" | xxd | tail -3
|
||||
|
||||
- name: SonarScanner Begin
|
||||
run: |
|
||||
dotnet sonarscanner begin \
|
||||
@@ -57,7 +38,7 @@ jobs:
|
||||
/d:sonar.host.url="${{ secrets.SONAR_HOST_URL }}" \
|
||||
/d:sonar.token="${{ secrets.SONAR_TOKEN }}" \
|
||||
/d:sonar.exclusions="**/bin/**,**/obj/**"
|
||||
|
||||
|
||||
- name: Build
|
||||
run: dotnet build Strata.SqlTools.QueryBreakdown.sln --configuration Release
|
||||
|
||||
|
||||
Reference in New Issue
Block a user