Good day, community.
I have the next error:
Injecting SonarQube environment variables using the configuration: sonar-server
[Pipeline] {
[Pipeline] sh
+ /var/jenkins_home/tools/hudson.plugins.sonar.SonarRunnerInstallation/SonarS
/var/jenkins_home/workspace/BuildDockerImageWithEnvVars-Sonarqube@tmp/durable-5952cc44/script.sh: 1: /var/jenkins_home/tools/hudson.plugins.sonar.SonarRunnerInstallation/SonarS: Permission denied
[Pipeline] }
WARN: Unable to locate 'report-task.txt' in the workspace. Did the SonarScanner succeed?
Must-share information (formatted with Markdown):
- which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)
Sonar Qube: Community Edition Version 9.9.3 (build 79811)
Scanner: 5.0.1.3006 - how is SonarQube deployed: zip, Docker, Helm
ECS Fargate + RDS PostgresSQL + EFS - what are you trying to achieve
Run SonarQube in Jenkins pipeline - what have you tried so far to achieve this
- Install java in container where the Jenkins running and it is the node where pipeline and jobs running
- change permission for folder and file sonar-scanner
Looking for help.
Thank you for your time.
Best regards,
Andrei