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 848aeb8 commit 2246f1bCopy full SHA for 2246f1b
Jenkinsfile
@@ -33,6 +33,7 @@ pipeline {
33
34
sonar_org = 'oracle'
35
sonar_project_key = "${sonar_org}_weblogic-toolkit-ui"
36
+ sonar_branch = sh(returnStdout: true, script: "echo ${env.GIT_BRANCH} | awk -F/ '{ print $2 }'").trim()
37
}
38
stages {
39
stage('Compute file version number') {
@@ -149,7 +150,6 @@ pipeline {
149
150
jdk "JDK 11.0.9"
151
152
environment {
- sonar_branch = sh(returnStdout: true, script: "echo ${GIT_BRANCH} | awk -F/ '{ print $2 }'").trim()
153
sonarscanner_config_file = "${sonarscanner_install_dir}/conf/sonar-scanner.properties"
154
electron_coverage = "${WORKSPACE}/electron/coverage/lcov.info"
155
webui_coverage = "${WORKSPACE}/webui/coverage/lcov.info"
0 commit comments