@@ -23,8 +23,8 @@ pipeline {
23
23
project_name = " $JOB_NAME "
24
24
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()
25
25
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 "
28
28
29
29
downstream_job_name = " wktui-sign"
30
30
TAG_NAME = sh(returnStdout : true , script : ' /usr/bin/git describe --abbrev=0 --tags' ). trim()
@@ -87,7 +87,7 @@ pipeline {
87
87
checkout([$class : ' GitSCM' , branches : [[name : " ${ GIT_COMMIT} " ]],
88
88
doGenerateSubmoduleConfigurations : false ,
89
89
extensions : [], submoduleCfg : [],
90
- userRemoteConfigs : [[credentialsId : " ${ github_creds } " , url : " ${ github_url } " ]]])
90
+ userRemoteConfigs : [[credentialsId : " ${ git_creds } " , url : " ${ git_url } " ]]])
91
91
sh ' echo ${version_number} > ${WORKSPACE}/WKTUI_VERSION.txt'
92
92
}
93
93
}
@@ -141,6 +141,7 @@ pipeline {
141
141
sh ' cd ${WORKSPACE}/webui; PATH="${linux_node_dir}/bin:$PATH" ${linux_npm_exe} run coverage; cd ${WORKSPACE}'
142
142
}
143
143
}
144
+ /*
144
145
stage('Run Sonar Analysis') {
145
146
tools {
146
147
jdk "JDK 11.0.9"
@@ -181,6 +182,7 @@ pipeline {
181
182
}
182
183
}
183
184
}
185
+ */
184
186
stage(' Linux Run eslint' ) {
185
187
// No need to run this on other platforms since the results will be the same...
186
188
steps {
@@ -233,7 +235,7 @@ pipeline {
233
235
checkout([$class : ' GitSCM' , branches : [[name : " ${ GIT_COMMIT} " ]],
234
236
doGenerateSubmoduleConfigurations : false ,
235
237
extensions : [], submoduleCfg : [],
236
- userRemoteConfigs : [[credentialsId : " ${ github_creds } " , url : " ${ github_url } " ]]])
238
+ userRemoteConfigs : [[credentialsId : " ${ git_creds } " , url : " ${ git_url } " ]]])
237
239
sh ' echo ${version_number} > ${WORKSPACE}/WKTUI_VERSION.txt'
238
240
}
239
241
}
@@ -343,7 +345,7 @@ pipeline {
343
345
checkout([$class : ' GitSCM' , branches : [[name : " ${ GIT_COMMIT} " ]],
344
346
doGenerateSubmoduleConfigurations : false ,
345
347
extensions : [], submoduleCfg : [],
346
- userRemoteConfigs : [[credentialsId : " ${ github_creds } " , url : " ${ github_url } " ]]])
348
+ userRemoteConfigs : [[credentialsId : " ${ git_creds } " , url : " ${ git_url } " ]]])
347
349
bat ' echo %version_number% > "%WORKSPACE%/WKTUI_VERSION.txt"'
348
350
}
349
351
}
0 commit comments