Re: migrate downstream jobs to pipeline

2016-07-24 Thread Shurik
Do you mean something like this ?

 parallel one: {
 build 'B'
 build 'E'
}, second: {
build 'C'
}
   
  build 'D'


if yes, than in this situation D will be depend on E and I don't want it.

On Sunday, 24 July 2016 16:31:14 UTC+3, Baptiste Mathus wrote:
>
> Move 'build E' instruction in the 'one' closure, just after build B.
>
> Le 24 juil. 2016 2:52 PM, "Shurik" > a 
> écrit :
>
> Hi,
>
> I have the below graph job definition ( via downstream ) and I want to 
> migrate it to pipeline with parallel options.
>
>   A
> /\
>BC
>   /  \  /
>  E   D
>
> A -> B, C
> B -> E, D
> C -> D
>
> B and C can run in parallel, D need to wait till B and C finished and E 
> can run after B finished.
>
> How I can do the same in pipeline ?
>
> I tried the below, but 
>
> stage 'Stage 1'
> build 'A'
>
>parallel one: {
>  build 'B'
> }, second: {
> build 'C'
> }
>
>   build 'D'
>
>   build 'E'
> }
>
>
> in this configuration E will wait till C job finished.
>
> Thanks,
> Shurik
>
> -- 
> 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-use...@googlegroups.com .
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/jenkinsci-users/064a3396-6afa-451e-a9b5-b3877a3cf701%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/jenkinsci-users/064a3396-6afa-451e-a9b5-b3877a3cf701%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
>
>

-- 
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/15948b18-818a-4faa-a46f-4426919920f3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


migrate downstream jobs to pipeline

2016-07-24 Thread Shurik
Hi,

I have the below graph job definition ( via downstream ) and I want to 
migrate it to pipeline with parallel options.

  A
/\
   BC
  /  \  /
 E   D

A -> B, C
B -> E, D
C -> D

B and C can run in parallel, D need to wait till B and C finished and E can 
run after B finished.

How I can do the same in pipeline ?

I tried the below, but 

stage 'Stage 1'
build 'A'
   
   parallel one: {
 build 'B'
}, second: {
build 'C'
}
   
  build 'D'

  build 'E'
}


in this configuration E will wait till C job finished.

Thanks,
Shurik

-- 
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/064a3396-6afa-451e-a9b5-b3877a3cf701%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


CD for Jenkins changes

2016-05-17 Thread Shurik


In our production jenkins we have many jobs. 

The operators change the job configuration and script that run in CI.

Sometimes this change causes a failure. 

I searched the way how to do CD for this change.

I thought about creating a staging jenkins, but I see a problem with jobs 
sync ( I don't want to copy/merge the config.xml files).

What is the best way to use CD for these Jenkins changes?

-- 
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/adeb53f0-04a8-4cdd-a8b5-7e0ace5b9e1b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


pipeline rest api

2016-05-17 Thread Shurik
Hi,

Does the pipeline support rest api?

I want via curl get the pipeline execution steps/status.

Thanks,
Shurik

-- 
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/d8edb217-7799-4f01-89d9-37cb7d0dd485%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


maven job in jenkins 2

2016-05-17 Thread Shurik
Hi,

I can't find the option to create maven job in jenkins 2.

Does jenkins 2 will support it like in jenkins 1.* ?

Does the pipeline will support it too ?

Thanks,
Shurik

-- 
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/bb445456-c3e1-4347-bb40-9f8d311094eb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


validation plugin

2016-03-23 Thread Shurik
Hi,

I search for plugin that can do some validation before job is starting.

I want to check the free space on filesystem, db connection.

Please advise if this plugin already exists. ( I can't find it in the 
plugin list )

Thanks,
Shurik

-- 
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/de9c17f0-0ea0-4830-929b-38e422c5bd00%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


sync perforce workspace

2016-03-05 Thread Shurik
Hi,

I have maven incremental job with SCM ( perforce ).

The incremental option check the SCM changes and based on it choose which 
maven module to run.

Sometimes I need to manually sync the perforce workspace in order to skip 
the maven module build.

But when I do it in correct perforce workspace and trigger the job jenkins 
still see that my manually sync as job changes.

How I can do it?

Thanks

-- 
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/47319a46-fa60-4194-b109-03759d113a5f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


maven build split log for each module

2016-02-14 Thread Shurik
Hi,

I have maven job that run many ( ~800 ) modules.

main reactor pom.xml file.

How I can split log file that each module will contains the log of module 
build?

Thanks.

-- 
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/bf8a243c-7bd1-4f53-92f0-7da3ad3babed%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


re-run build step if failed

2015-03-26 Thread Shurik
Hi,

I have the job that has shell build step.

I want to re-run this build step if it failed on the first time.

I need to configure it on the same job ( I can't define other job for it or 
use the naginator plugin - project restriction )

How can I configure it?

Thanks,
Shurik

-- 
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/c9c2d3d6-0656-482a-9f8a-b591d326b002%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.