On Thursday, April 27, 2017 at 1:12:03 PM UTC-4, Brian Hoolihan 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/7f9ae0f7-78dc-4bab-b34f-e88b9dc91432%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.