All,
   I'm testing out the pipelines and blue ocean UI for our deployment use
case.  Basically, we've got 3 different products that are deployed at the
same time.  Each deployment starts with deploying to a beta server, and
then approving the deployment for the full application.  The issue I'm
having is that in the blue ocean UI, I can't get the "Waiting for
interactive input" to change parallel branches.  No matter which of the
P#-b steps I click on, it shows the "Wait for interactive input" prompt for
step P1-b.  Anyone know what's going on here, or have run into this in the
past?  I've put a simple test pipeline demonstrating the behavior below.

Thanks,
Matt Lauber

----

pipeline {
    agent none
    stages {
        stage("Step 1") {
            steps {
                echo "Step 1"
            }
        }
        stage("Parallel") {
            parallel {
                stage("P1") {
                    agent { label 'master' }
                    stages {
                        stage("P1-a") {
                            steps {
                                echo "P1-a"
                            }
                        }
                        stage("P1-b") {
                            input {
                                message "Deploy P1-b?"
                                ok "Deploy P1-b"
                            }
                            steps {
                                echo "P1-b"
                            }
                        }
                    }
                }
                stage("P2") {
                    agent { label 'master' }
                    stages {
                        stage("P2-a") {
                            steps {
                                echo "P2-a"
                            }
                        }
                        stage("P2-b") {
                            input {
                                message "Deploy P2-b?"
                                ok "Deploy P2-b"
                            }
                            steps {
                                echo "P2-b"
                            }
                        }
                    }
                }
                stage("P3") {
                    agent { label 'master' }
                    stages {
                        stage("P3-a") {
                            steps {
                                echo "P3-a"
                            }
                        }
                        stage("P3-b") {
                            input {
                                message "Deploy P3-b?"
                                ok "Deploy P3-b"
                            }
                            steps {
                                echo "P3-b"
                            }
                        }
                    }
                }
            }
        }
    }
}

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CA%2BU9ApffxN8mf8KdTf8vcs8SB_qmfR4vuG0jjAd_p_XsJGjnzg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to