Direct url to the lastest details page of a build

时间:2017-06-19 13:52:29

标签: jenkins jenkins-pipeline jenkins-blueocean

I try to set up a public display on our department floor to present the current status of the Jenkin's maintained projects. Therefore I'm cycling through a session of Jenkins web pages like the Blue Ocean Pipeline overview or the detailed build history of particular pipelines.
Blue Ocean Pipeline Build History

Additionally I would like to show the detailed page of the last build step of a pipeline.
Build details of a pipeline

Unfortunately the url that is been called uses the build number which I don't have on my script side. Is there a way within Blue Ocean to call for the last detailed build page in depended of the build number. * instead of .../blue/organizations/jenkins/Playground_RTM/detail/Playground_RTM/112/pipeline * something like that .../blue/organizations/jenkins/Playground_RTM/detail/Playground_RTM/last/pipeline

Any ideas?

1 个答案:

答案 0 :(得分:0)

在上一个版本的蓝色海洋中,我找不到直接的动态URL。

如果有人希望提供快速访问链接,他们可以提供指向蓝色海洋中特定分支的活动页面的链接。

$ ./bin/revarr2d
original:
  0  1  2
  3  4  5
  6  7  8

reversed using indexes:
  2  1  0
  5  4  3
  8  7  6

restore original using pointers:
  0  1  2
  3  4  5
  6  7  8

reverse again using pointers:
  2  1  0
  5  4  3
  8  7  6

restore original using VLA w/indexes:
  0  1  2
  3  4  5
  6  7  8

reversed with VLA using indexes:
  2  1  0
  5  4  3
  8  7  6

restore original using VLA w/pointers:
  0  1  2
  3  4  5
  6  7  8

reverse again using VLA w/pointers:
  2  1  0
  5  4  3
  8  7  6

或者通过使用https://<host-name>/blue/organizations/jenkins/<job-name>/activity?branch=<branch-name> 关键字来提供经典Jenkins的最后一个构建页面URL。