File tree Expand file tree Collapse file tree 2 files changed +3
-6
lines changed
Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -2,10 +2,9 @@ APP=blog
22VERSION? =latest
33BUILD? =$(shell /bin/date +% Y% m% d% H% M% S)
44# linux/amd64, linux/arm64
5- PLATFORM? =linux/arm64
5+ PLATFORM? =linux/arm64
66REGISTRY? =loneexile
77
8- # tcp://buildkitd.buildkit.svc.cluster.local:1234
98ximage :
109 docker buildx create --name imagebuilder --driver=remote tcp://buildkitd:1234 --bootstrap --use;
1110 cat ~ /.docker/buildx/instances/imagebuilder;
Original file line number Diff line number Diff line change 11pipeline {
22 environment {
33 CONTAINER_REGISTRY_CREDENTIALS = credentials(' docker' )
4- SONARQUBE_SCANNER_HOME = tool ' sonar-scanner'
5- SONAR_HOST_URL = ' https://sonar.voidbox.io/'
6- SONAR_TOKEN = credentials(' sonar-token' )
4+ SONARQUBE_SCANNER_HOME = tool ' sonar-scanner' // NOTE: need to match the name of the SonarQube installer in Tools
75 }
86
97 agent {
@@ -45,7 +43,7 @@ pipeline {
4543 stage(' SonarQube Analysis' ) {
4644 steps {
4745 container(' jnlp' ) {
48- withSonarQubeEnv(' sonar' ) {
46+ withSonarQubeEnv(' sonar' ) { // NOTE: need to match the name of the SonarQube server configuration in Jenkins
4947 sh " ${ env.SONARQUBE_SCANNER_HOME} /bin/sonar-scanner -Dproject.settings=deploy/config/sonar-project.properties"
5048 }
5149 }
You can’t perform that action at this time.
0 commit comments