[JIRA] (JENKINS-50150) Parallel stage with when shown as ran, but it haven't

3 views
Skip to first unread message

leandro.narosky@gmail.com (JIRA)

unread,
Mar 13, 2018, 11:20:04 AM3/13/18
to jenkinsc...@googlegroups.com
Leandro Narosky created an issue
 
Jenkins / Bug JENKINS-50150
Parallel stage with when shown as ran, but it haven't
Issue Type: Bug Bug
Assignee: Unassigned
Attachments: image-2018-03-13-12-14-21-339.png
Components: blueocean-plugin
Created: 2018-03-13 15:19
Environment: Last version Jenkins with blue ocean
Priority: Minor Minor
Reporter: Leandro Narosky

 

Those steps are shown as ran, but it haven't. Clicking them just says "this stage has no steps"

stage('Deploy release') {
environment{
ARTIFACT_VERSION = xxx
}
when {
anyOf {
branch 'RC'
branch 'HOTFIX_*'
branch 'HOTFIX-*'
}
}
parallel{
stage('Deploy to RC') {
when {
anyOf {
branch 'RC'
branch 'HOTFIX_*'
branch 'HOTFIX-*'
}
}
steps {
deploy(xxx)
}
}

stage('Deploy to CERT') {
when {
anyOf {
branch 'RC'
branch 'HOTFIX_*'
branch 'HOTFIX-*'
}
}
steps {
deploy(xxx)
}
}
}

 I've added "when" everywhere to try to fix it, but it doesn't work. It's clearly using the condition since it doesn't run the deploy script. The error seems to be only in the GUI

This code is in a shared library, I'm not sure if that could be the reason of the error.

 

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)
Atlassian logo

leandro.narosky@gmail.com (JIRA)

unread,
Mar 13, 2018, 1:29:02 PM3/13/18
to jenkinsc...@googlegroups.com
Leandro Narosky updated an issue
Change By: Leandro Narosky
!image-2018-03-13-12-14-21-339.png!


 

Those steps are shown as ran, but it haven't. Clicking them just says "this stage has no steps"

This only occurs when a previous stage has failed.
{code:java}
{code}

 I've added "when" everywhere to try to fix it, but it doesn't work. It's clearly using the condition since it doesn't run the deploy script. The error seems to be only in the GUI

This code is in a shared library, I'm not sure if that could be the reason of the error.

 

orenault@gmail.com (JIRA)

unread,
Mar 13, 2018, 1:40:02 PM3/13/18
to jenkinsc...@googlegroups.com
Olivier Renault commented on Bug JENKINS-50150
 
Re: Parallel stage with when shown as ran, but it haven't

Hi !

I've got the same issue.

When a step fails on a pipeline, the next steps are not ran, and the view on the blue ocean dashboard is ok, except for the steps in parallel : the display show them as ran with a green PASS status and "no steps" !!  

It's really confusing. Enough to get remarks when doing a presentation. So this should be set with a higher priority.

leandro.narosky@gmail.com (JIRA)

unread,
Mar 13, 2018, 4:36:02 PM3/13/18
to jenkinsc...@googlegroups.com

leandro.narosky@gmail.com (JIRA)

unread,
Mar 13, 2018, 4:36:03 PM3/13/18
to jenkinsc...@googlegroups.com

edward.marsh@maersk.com (JIRA)

unread,
Oct 22, 2019, 8:29:01 AM10/22/19
to jenkinsc...@googlegroups.com

Same issue for us too. Any news on this? 

This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages