We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1d9743e commit 53ff946Copy full SHA for 53ff946
Jenkinsfile
@@ -150,7 +150,7 @@ void runSonarScanner() {
150
def changeUrl = env.GIT_URL.split("/")
151
def org = changeUrl[3]
152
def repo = changeUrl[4].substring(0, changeUrl[4].length() - 4)
153
- if (changeRequest()) {
+ if (env.CHANGE_ID != null) {
154
sh "mvn -B sonar:sonar \
155
-Dsonar.projectKey=${org}_${repo} \
156
-Dsonar.pullrequest.provider=GitHub \
0 commit comments