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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to