I cut and paste what you have above into a new Pipeline and it works fine.
Make sure you plugins are up to date.

On Thu, Apr 27, 2017 at 10:12 AM, Brian Hoolihan <[email protected]> wrote:

> I've been playing around with declarative pipelines and I can't seem to
> get the stage view to show any results.  Here's the sample file that I'm
> running
>
> pipeline {
>    agent any
>    stages {
>         stage('Build 1') {
>             steps {
>                 echo 'build 1....'
>                 echo 'service 1'
>             }
>         }
>         stage('Build 2') {
>             steps {
>                 echo 'build 2....'
>                 echo 'service 2'
>             }
>         }
>         stage('Build 3') {
>             steps {
>                 echo 'build 3....'
>                 echo 'service 3'
>             }
>         }
>     }
> }
>
> The "build" is successful but this is what is displayed on the Jenkins
> page:
>
>
>
> If I put in a simple pipeline definition like below, it works just fine.
>
> node {
>   stage 'build1'
>     echo 'build 1'
>   stage 'build2'
>     echo 'build 2'
>   stage 'build3'
>     echo 'build 3'
> }
>
> Any thoughts on this??
>
> --
> You received this message because you are subscribed to the Google Groups
> "Jenkins Developers" 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-dev/bafd52e2-eb26-44e8-84ac-88607802cc76%
> 40googlegroups.com
> <https://groups.google.com/d/msgid/jenkinsci-dev/bafd52e2-eb26-44e8-84ac-88607802cc76%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>



-- 

Patrick Wolf
Product Director - Jenkins
CloudBees

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" 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-dev/CAGDV0P8dTTUVxYp21KP3VL3wzR3bHR%3DDnAR3SX3MrS7K2mHL4w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to