Hi guys, please help me with this, I’m a newbie to sonarqube,
Im trying to do code scanning my react.js project, Im not using maven and gradle in the project.
My sonarscanner plugin is version 4.6.2.2472.
I checked Install automatically, install from maven central
this is my jenkinsfile
node {
stage(‘SCM’) {
checkout scm
}
stage(‘SonarQube Analysis’) {
def scannerHome = tool ‘SonarScanner’;
withSonarQubeEnv() {
sh “${scannerHome}/bin/sonar-scanner”
}
}
}
Now, Im getting this error.
.jenkinstoolshudson.plugins.sonar.SonarRunnerInstallationSonarScanner/bin/sonar-scanner: No such file or directory
Thank you and good day