Giter Site home page Giter Site logo

Comments (10)

visu-suganya avatar visu-suganya commented on June 7, 2024

Yes exactly the same error happening for me.

from sonar-flutter.

zippy1978 avatar zippy1978 commented on June 7, 2024

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.

KinoKiru avatar KinoKiru commented on June 7, 2024

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.

natchanonpor avatar natchanonpor commented on June 7, 2024

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.

KinoKiru avatar KinoKiru commented on June 7, 2024

I've updated the plugin on the server to 0.5.1-snapshot, but for me, it gives the same error.

from sonar-flutter.

berkebalci avatar berkebalci commented on June 7, 2024

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.

berkebalci avatar berkebalci commented on June 7, 2024

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.

lucaspal avatar lucaspal commented on June 7, 2024

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.

github-actions avatar github-actions commented on June 7, 2024

This issue is stale because it has been open for 90 days with no activity.

from sonar-flutter.

github-actions avatar github-actions commented on June 7, 2024

This issue was closed because it has been inactive for 14 days since being marked as stale.

from sonar-flutter.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.