Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitedb515d

Browse files
committed
chore(build): Fix use of Sonar JDK
1 parentf04de65 commitedb515d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

‎Jenkinsfile‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,9 @@ pipeline {
5555

5656
steps {
5757
withSonarQubeEnv('sonar') {
58-
sh'mvn -Ptest-coverage,indoqa-release sonar:sonar -Dsonar.host.url=$SONAR_HOST_URL -Dsonar.login=$SONAR_AUTH_TOKEN -Dsonar.password='
58+
withEnv(["JAVA_HOME=${tool 'Sonar_JDK'}","PATH=${tool 'Sonar_JDK'}/bin:${env.PATH}"]) {
59+
sh'mvn -Ptest-coverage,indoqa-release sonar:sonar -Dsonar.host.url=$SONAR_HOST_URL -Dsonar.login=$SONAR_AUTH_TOKEN -Dsonar.password='
60+
}
5961
}
6062
}
6163
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp