@@ -23,8 +23,8 @@ pipeline {
2323 project_name = " $JOB_NAME "
2424 version_prefix = sh(returnStdout : true , script : ' cat electron/package.json | grep version | awk \' match($0, /[0-9]+.[0-9]+.[0-9]+/) { print substr( $0, RSTART, RLENGTH )}\' ' ). trim()
2525 version_number = VersionNumber ([versionNumberString : ' -${BUILD_YEAR}${BUILD_MONTH,XX}${BUILD_DAY,XX}${BUILDS_TODAY_Z,XX}' , versionPrefix : " ${ version_prefix} " ])
26- github_url = " ${ env.GIT_URL} "
27- github_creds = " fa369a2b-8c50-43ea-8956-71764cbcbe3d "
26+ git_url = " ${ env.GIT_URL} "
27+ git_creds = " wktui-orahub-creds "
2828
2929 downstream_job_name = " wktui-sign"
3030 TAG_NAME = sh(returnStdout : true , script : ' /usr/bin/git describe --abbrev=0 --tags' ). trim()
@@ -87,7 +87,7 @@ pipeline {
8787 checkout([$class : ' GitSCM' , branches : [[name : " ${ GIT_COMMIT} " ]],
8888 doGenerateSubmoduleConfigurations : false ,
8989 extensions : [], submoduleCfg : [],
90- userRemoteConfigs : [[credentialsId : " ${ github_creds } " , url : " ${ github_url } " ]]])
90+ userRemoteConfigs : [[credentialsId : " ${ git_creds } " , url : " ${ git_url } " ]]])
9191 sh ' echo ${version_number} > ${WORKSPACE}/WKTUI_VERSION.txt'
9292 }
9393 }
@@ -141,6 +141,7 @@ pipeline {
141141 sh ' cd ${WORKSPACE}/webui; PATH="${linux_node_dir}/bin:$PATH" ${linux_npm_exe} run coverage; cd ${WORKSPACE}'
142142 }
143143 }
144+ /*
144145 stage('Run Sonar Analysis') {
145146 tools {
146147 jdk "JDK 11.0.9"
@@ -181,6 +182,7 @@ pipeline {
181182 }
182183 }
183184 }
185+ */
184186 stage(' Linux Run eslint' ) {
185187 // No need to run this on other platforms since the results will be the same...
186188 steps {
@@ -233,7 +235,7 @@ pipeline {
233235 checkout([$class : ' GitSCM' , branches : [[name : " ${ GIT_COMMIT} " ]],
234236 doGenerateSubmoduleConfigurations : false ,
235237 extensions : [], submoduleCfg : [],
236- userRemoteConfigs : [[credentialsId : " ${ github_creds } " , url : " ${ github_url } " ]]])
238+ userRemoteConfigs : [[credentialsId : " ${ git_creds } " , url : " ${ git_url } " ]]])
237239 sh ' echo ${version_number} > ${WORKSPACE}/WKTUI_VERSION.txt'
238240 }
239241 }
@@ -343,7 +345,7 @@ pipeline {
343345 checkout([$class : ' GitSCM' , branches : [[name : " ${ GIT_COMMIT} " ]],
344346 doGenerateSubmoduleConfigurations : false ,
345347 extensions : [], submoduleCfg : [],
346- userRemoteConfigs : [[credentialsId : " ${ github_creds } " , url : " ${ github_url } " ]]])
348+ userRemoteConfigs : [[credentialsId : " ${ git_creds } " , url : " ${ git_url } " ]]])
347349 bat ' echo %version_number% > "%WORKSPACE%/WKTUI_VERSION.txt"'
348350 }
349351 }
0 commit comments