sonar-flutter
sonar-flutter copied to clipboard
org.buildobjects.process.StartupException: Could not startup process 'flutter analyze --no-fatal-warnings --no-fatal-infos'.
git actions:
....
- name: 🕵️ Analyze
run: flutter analyze .
/// SUCCESS
- name: 🧪 Run Tests
run: flutter test --coverage --coverage-path=coverage/lcov.info --test-randomize-ordering-seed=random --concurrency=10
/// SUCCESS
- name: 🪲 Run Sonar analyze
uses: sonarsource/sonarqube-scan-action@master
env:
SONAR_TOKEN: ${{secrets.SONAR_TOKEN}}
SONAR_PROJECT_KEY: ${{secrets.SONAR_KEY}}
SONAR_HOST_URL: ${{secrets.SONAR_HOST_URL}}
/// ERROR org.buildobjects.process.StartupException: Could not startup process 'flutter analyze --no-fatal-warnings --no-fatal-infos'.
logic: git action -> self-hosted runner
So, the runner raises a Docker container, inside which it tries to run the scanner, and, it fails with an error