未验证 提交 41cf2baa 编写于 作者: C colynn.liu 提交者: GitHub

Merge pull request #13 from sampsonye/bugfix-pubdetail-whitepage

fix ProjectPubDetail whitepage bug
...@@ -70,8 +70,8 @@ export default { ...@@ -70,8 +70,8 @@ export default {
backend.getJenkinsServer((data) => { backend.getJenkinsServer((data) => {
let jenkinsURL = data.jenkins let jenkinsURL = data.jenkins
if (jenkinsURL.endsWith('/') == true) { if (jenkinsURL.endsWith('/')) {
jenkinsURL = substring(0,jenkinsURL.length-1) jenkinsURL = jenkinsURL.slice(0,-1);
} }
this.curSrc = `${jenkinsURL}/blue/organizations/jenkins/${jobName}/detail/${jobName}/${runId}/pipeline/`; this.curSrc = `${jenkinsURL}/blue/organizations/jenkins/${jobName}/detail/${jobName}/${runId}/pipeline/`;
},stageId); },stageId);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册