Parallel pipeline and Stage View

39 views
Skip to first unread message

Simon Richter

unread,
Feb 22, 2020, 11:09:42 AM2/22/20
to jenkins...@googlegroups.com
Hi,

I have a rather simple meta-pipeline:

pipeline {
parameters {
string(name: 'PATCH_URL', defaultValue: '', description:
'URL of a patch file to download and apply')
}
agent none
stages {
stage('Build Configurations') {
parallel {
stage('Linux') {
agent none
steps {
build job: 'linux-kicad-patch', \
parameters: [ \
string(name: 'PATCH_URL', \
value: "${PATCH_URL}") ], \
propagate: true, \
wait: true
}
}
stage('Windows MSYS2') {
agent none
steps {
build job: 'windows-kicad-msys2-patch', \
parameters: [ \
string(name: 'PATCH_URL', \
value: "${PATCH_URL}") ], \
propagate: true, \
wait: true
}
}
stage('Windows MSVC') {
agent none
steps {
build job: 'windows-kicad-msvc-patch', \
parameters: [ \
string(name: 'PATCH_URL', \
value: "${PATCH_URL}") ], \
propagate: true, \
wait: true
}
}
}
}
}
}

This should build the three downstream projects with the same
parameters, in parallel.

The stage view shows four stages after starting a build shows four stages:

- "Build Configurations" (done after 295ms)
- "Windows MSVC" (done after 0ms, paused for 0ms)
- "Windows MSYS2" (done after 0ms, paused for 0ms)
- "Linux" (in progress, with increasing stage time)

Ideally, it wouldn't show the "outer" stage at all, and display the
three "inner" stages as "in progress" at the same time. Is that possible?

Simon

signature.asc

Jan Monterrubio

unread,
Feb 22, 2020, 10:41:12 PM2/22/20
to jenkins...@googlegroups.com
The blue ocean plugin might be able to give you the view that you want. In my experience, the vanilla pipelines just append Columns to a table. 

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/87b628c5-e98c-bae8-182f-7790ceb2e19c%40hogyros.de.

Peter Kunst

unread,
Feb 22, 2020, 11:17:44 PM2/22/20
to jenkins...@googlegroups.com
BTW, blue ocean still does not support subversion and will never do. Is this correct?

Stuart Rowe

unread,
Feb 24, 2020, 1:18:47 AM2/24/20
to Jenkins Users
If the subversion plugin produces a changeset for a run, then blueocean should be able to display that. Subversion wouldn't be supported when using blueocean to author pipelines though.

Simon Richter

unread,
Feb 29, 2020, 5:08:41 AM2/29/20
to jenkins...@googlegroups.com
Hi,

Am 23.02.2020 um 04:40 schrieb Jan Monterrubio:

> The blue ocean plugin might be able to give you the view that you want.
> In my experience, the vanilla pipelines just append Columns to a table.

That would be fine and close to what I want, but the really annoying
thing is that rows get hidden if they don't have the same column order
as the row from the currently executing job, and parallel execution
causes exactly that to happen.

Simon

signature.asc
Reply all
Reply to author
Forward
0 new messages