sonar-flutter icon indicating copy to clipboard operation
sonar-flutter copied to clipboard

org.buildobjects.process.StartupException: Could not startup process 'flutter analyze --no-fatal-warnings --no-fatal-infos'.

Open iBelow opened this issue 1 year ago • 3 comments

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

iBelow avatar Jun 26 '24 13:06 iBelow