Re: Issue with jenkins pipeline

2019-09-06 Thread Jan Monterrubio
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  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
>> 
>> .
>>
> --
> 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
> 
> .
>

-- 
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.


Re: Issue with jenkins pipeline

2019-09-04 Thread Toni Van de Voorde
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
> 
> .
>

-- 
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.


Issue with jenkins pipeline

2019-09-04 Thread Salvatore Esposito
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.