[英]Jenkins: how to remove the surrounding stage over parallel stages in the Web UI?
我在 Jenkins 中有以下聲明性管道:
pipeline {
agent any
...
stage('Deployment') {
parallel {
stage('Deployment:CI') {
...
}
stage('Deployment:Test') {
...
}
stage('Deployment:Production') {
...
}
}
...
}
}
在 jenkins 的 web 接口中如下所示:
如您所見,GUI 中有一個(虛擬)階段,即部署,它只是一個外圍階段,什么也不做。
我的問題是:我怎樣才能擺脫 Web 接口中的這個階段並且仍然有並行階段?
由於您在 jenkinsfile 中聲明了階段 - 在管道執行時它不能隱藏在標准界面中。
正如評論中提到的,我在 Jenkins 中安裝了Blue Ocean作為插件。 這是我實際需要的屏幕截圖:
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.