Hi. I create this pipeline using docker container based on jenkins image:

pipeline {
    agent any

    stages {
        stage('Build') {
            steps {
                echo 'Building..'
            }
        }
        stage('Test') {
            steps {
                echo 'Testing..'
            }
        }
        stage('Deploy') {
            steps {
                echo 'Deploying....'
            }
        }
    }
}

But when I ran it I got back this:

Stage View This Pipeline has run successfully, but does not define any 
stages. Please use the stage step to define some stages in this Pipeline

And there is no echoed valus in console.

What happens with this?


-- 
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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/af693584-c9ed-4724-8b85-28ece61afcd6%40googlegroups.com.

Reply via email to