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
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
@ -23,6 +23,8 @@ pipeline {
|
|||||||
agent {
|
agent {
|
||||||
docker { image 'amazoncorretto:22-alpine' }
|
docker { image 'amazoncorretto:22-alpine' }
|
||||||
}
|
}
|
||||||
|
steps {
|
||||||
|
script {
|
||||||
def scannerHome = tool 'SonarScanner'
|
def scannerHome = tool 'SonarScanner'
|
||||||
withSonarQubeEnv() {
|
withSonarQubeEnv() {
|
||||||
sh "${scannerHome}/bin/sonar-scanner"
|
sh "${scannerHome}/bin/sonar-scanner"
|
||||||
@ -30,4 +32,6 @@ pipeline {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user