Simon Richter
unread,Feb 22, 2020, 11:09:42 AM2/22/20Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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