[JIRA] (JENKINS-53751) The same parallel scripted and declarative pipelines rendered differently

2 views
Skip to first unread message

trane9991@gmail.com (JIRA)

unread,
Sep 24, 2018, 1:03:03 PM9/24/18
to jenkinsc...@googlegroups.com
Taras Postument created an issue
 
Jenkins / Bug JENKINS-53751
The same parallel scripted and declarative pipelines rendered differently
Issue Type: Bug Bug
Assignee: Unassigned
Attachments: declarative.log, declarative.png, scripted.log, scripted.png
Components: blueocean-plugin
Created: 2018-09-24 17:02
Labels: blueocean
Priority: Major Major
Reporter: Taras Postument

Hello, I'm trying to migrate my Declarative pipelines to scripted ones and cannot reproduce behavior completely.

In order to visualize issue I created 2 identical pipelines defined in a scripted way and in a declarative way.

 

Scripted:

node {
    stage("Build") {
        parallel([
            "Android":{ stage("Android"){ stage("a"){ echo "x" }; stage("a1"){ echo "x" }}},
            "iOS":{ stage("iOS"){stage("b"){ echo "x" }; stage("a2"){ echo "x" }}}
        ])
    }
}

Declarative:

pipeline {
    agent any
    stages {
        stage('Build') {
            failFast true
            parallel {
                stage('Android') {
                    stages {
                        stage('a') { steps { echo "x"} }
                        stage('a1') { steps { echo "x"} }
                    }
                }
                stage('iOS') {
                    stages {
                        stage('b') { steps { echo "x"} }
                        stage('b1') { steps { echo "x"} }
                    }
                }
            }
        }
    }
}

 

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

martrich89@web.de (JIRA)

unread,
Apr 30, 2020, 11:58:03 AM4/30/20
to jenkinsc...@googlegroups.com
tharilya commented on Bug JENKINS-53751
 
Re: The same parallel scripted and declarative pipelines rendered differently

This Seems to be solved in the current version of the plugin.

Can you confirm that? Taras Postument

This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages