按照这个教程配置的流水线:https://kubesphere.com.cn/docs/devops-user-guide/how-to-use/create-a-pipeline-using-graphical-editing-panel/
在代码质量分析的时候报错,
++ pwd
- mvn sonar:sonar -o -gs /home/jenkins/agent/workspace/springboot-devpl2gdl/test-pipeline/configuration/settings.xml -Dsonar.login=****
[ERROR] Error executing Maven.
[ERROR] The specified global settings file does not exist: /home/jenkins/agent/workspace/springboot-devpl2gdl/test-pipeline/configuration/settings.xml
script returned exit code 1
按照教程中的说明代码质量这个地方的shell脚本是mvn sonar:sonar -o -gs pwd
/configuration/settings.xml -Dsonar.login=$SONAR_TOKEN