I usually see this happen when I use a Pipeline item (of type
FlowDefiniton) instead of a MultiBranchPipeline (workflowjob)

On Thu, Sep 5, 2019 at 00:43 Toni Van de Voorde <toni....@gmail.com> wrote:

> Hi Salvatore,
>
> The pipeline seems correct, but how did you configure jenkins to run this?
> Seems to me it doesn't find this specific configuration?!
>
> Cheers
>
> On Thu, 5 Sep 2019 at 00:06, Salvatore Esposito <
> salvatore.esposit...@gmail.com> wrote:
>
>> 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
>> <https://groups.google.com/d/msgid/jenkinsci-users/af693584-c9ed-4724-8b85-28ece61afcd6%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
> --
> 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/CAGRKivw7k%3DnpuuNkwMSj38YjHomDZVN%3Du-%3DSHgs5oAYnJeJMGA%40mail.gmail.com
> <https://groups.google.com/d/msgid/jenkinsci-users/CAGRKivw7k%3DnpuuNkwMSj38YjHomDZVN%3Du-%3DSHgs5oAYnJeJMGA%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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/CADgiF9%2BefVA7UvfiKhc9g%2BVdPHmpwbObnX3GYt16D3kczsSvrg%40mail.gmail.com.

Reply via email to