Comments (10)
Yes exactly the same error happening for me.
from sonar-flutter.
Hi,
It seems that "flutter" command is not on path (or in current dir).
How did you install flutter on the runner ?
Did you use flutter-action ? (https://github.com/marketplace/actions/flutter-action)
from sonar-flutter.
i did use flutter action, i'll add the build.yml
name: Build
on:
push:
branches:
- main
jobs:
build:
name: Build
runs-on: ubuntu-latest
permissions: read-all
steps:
- uses: actions/checkout@v3
- name: Install and set Flutter version
uses: subosito/flutter-action@v2
with:
channel: 'stable'
- name: Run Flutter doctor
run: flutter doctor -v
- name: Sonar-scanner
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 }}
from sonar-flutter.
try 0.5.1 works for me, not sure why tho.
https://github.com/insideapp-oss/sonar-flutter/releases/tag/0.5.1-SNAPSHOT
from sonar-flutter.
I've updated the plugin on the server to 0.5.1-snapshot, but for me, it gives the same error.
from sonar-flutter.
I've updated the plugin on the server to 0.5.1-snapshot, but for me, it gives the same error.
I get the same error as well
from sonar-flutter.
Hi,
It seems that "flutter" command is not on path (or in current dir). How did you install flutter on the runner ?
Did you use flutter-action ? (https://github.com/marketplace/actions/flutter-action)
On sonarqube I selected the option 'Upload project localy'. I get the same error as the author gets
from sonar-flutter.
Caused by: java.io.IOException: Cannot run program "flutter" (in directory "/github/workspace"): error=2, No such file or directory
It looks like the directory /github/workspace
does not exist. I have the same issue (different setup but same no such file or directory found) and I still haven't found a solution to it.
EDIT: I didn't made available the intended artifacts. Doing that solved th eissue on my side.
from sonar-flutter.
This issue is stale because it has been open for 90 days with no activity.
from sonar-flutter.
This issue was closed because it has been inactive for 14 days since being marked as stale.
from sonar-flutter.
Related Issues (20)
- Could not startup process 'flutter analyze --no-fatal-warnings --no-fatal-infos' HOT 4
- Sonar-Flutter Plugin not working in SonarQube 9.9.x or 10.2.x HOT 6
- Simplify "Run analysis" documentation HOT 2
- Issue Multi-Module for code coverage does not show in a report HOT 3
- 'The main branch has no lines of code' problem HOT 4
- Vulnerability issue shows on my local but not SonarQube Dashboard. HOT 2
- Analysis fails if any `pubspec.yaml` file does not have a `dependencies` key HOT 2
- java.lang.IllegalStateException: Error while running 'flutter analyze --no-fatal-warnings --no-fatal-infos' (exit 1): 6632 issues found. (ran in 3.3s) HOT 13
- scanner fails to report the results back to qube - Current edition does not support branch feature HOT 4
- How to scan dependencies HOT 2
- Not getting issue in SonarQube Dashboard and removed existing analysis_options.yaml HOT 6
- Exclusion and lcov HOT 2
- IllegalArgumentException while analyzing Dart of Flutter project
- Files aren't indexed as dart with SonarQube 10.4.1 HOT 2
- [QUESTION] Use sonarlint in connected mode
- [FATAL] Could not startup process 'flutter analyze --no-fatal-warnings --no-fatal-infos'. HOT 2
- [FATAL] pubspec.yaml does not exist in Monorepository
- [QUESTION] Support dart code linter HOT 1
- Flutter plugin installed but not used is sonar-scanner-cli HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sonar-flutter.