修改:在Pipeline中使用withSonarQubeEnv来引用配置
不需要在tools中额外声明
This commit is contained in:
parent
c202c04dc8
commit
9387c97d56
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@ -9,7 +9,7 @@ pipeline {
|
|||||||
|
|
||||||
tools {
|
tools {
|
||||||
go 'go' // 使用Jenkins手动配置的Go工具
|
go 'go' // 使用Jenkins手动配置的Go工具
|
||||||
hudson.plugins.sonar.SonarRunnerInstallation 'sonarQube' // 使用Jenkins配置的SonarQube工具
|
|
||||||
}
|
}
|
||||||
|
|
||||||
environment {
|
environment {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user