ci: fix attempt #1 sonarqube
All checks were successful
Anthrove/Otter-Space-SDK/pipeline/head This commit looks good
All checks were successful
Anthrove/Otter-Space-SDK/pipeline/head This commit looks good
This commit is contained in:
parent
79f06d4e4c
commit
8736a2ef5e
10
Jenkinsfile
vendored
10
Jenkinsfile
vendored
@ -23,9 +23,13 @@ pipeline {
|
|||||||
agent {
|
agent {
|
||||||
docker { image 'amazoncorretto:22-alpine' }
|
docker { image 'amazoncorretto:22-alpine' }
|
||||||
}
|
}
|
||||||
def scannerHome = tool 'SonarScanner'
|
steps {
|
||||||
withSonarQubeEnv() {
|
script {
|
||||||
sh "${scannerHome}/bin/sonar-scanner"
|
def scannerHome = tool 'SonarScanner'
|
||||||
|
withSonarQubeEnv() {
|
||||||
|
sh "${scannerHome}/bin/sonar-scanner"
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user