Re: Re: Jenkins pipeline Testing

2020-03-24 Thread Jan Monterrubio
Ah, unfortunately those repos are company property :(

We unit test the declarative pipelines and the 1.3 release of pipeline unit
made it possible to test those without having to copy paste a bunch of
their code!


On Tue, Mar 24, 2020 at 19:16 Jheison Rodriguez 
wrote:

> Thanks for your response,
>
>
>
> Do you have any repo where I can find more examples?. Do you know if it’s
> possible to test declarative pipelines
>
>
>
> Best regards
>
> Jheison Rodriguez
>
>
>
> *From: *Jan Monterrubio 
> *Sent: *Tuesday, March 24, 2020 6:53 PM
> *To: *jenkinsci-users@googlegroups.com
> *Subject: *Re: Jenkins pipeline Testing
>
>
>
> We unit test our pipelines with :
>
>
>
> https://github.com/jenkinsci/JenkinsPipelineUnit
>
>
>
> We have some integration tests for them that require the Jenkins Test Rule
> and a docker agent that we configure as an external resource (junit4)
>
>
>
>
>
> Overall the pipeline unit is super nice! We also use the Jenkins plugin
> for plugins to consume the plugins on our Jenkins instance as dependencies
> for our gradle build.
>
>
>
>
>
> On Tue, Mar 24, 2020 at 12:32 Jheison Rodriguez 
> wrote:
>
> Hello Everyone, I'd like to know some thoughts about your experience with
> Jenkins pipelines testing (Jenkinsfile, Shared libraries, CPS, declarative
> pipeline). We want to start implementing it in our Company.
>
>
>
> Whatever help will be appreciate
>
>
>
> --
> 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/5e7a440f.1c69fb81.e29e6.8eb8%40mx.google.com
> <https://groups.google.com/d/msgid/jenkinsci-users/5e7a440f.1c69fb81.e29e6.8eb8%40mx.google.com?utm_medium=email_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/CADgiF9LadLK%3DP%2BLu4NvGmFPEyO3C9E_pmUMpLcUVyLPbMXew6w%40mail.gmail.com
> <https://groups.google.com/d/msgid/jenkinsci-users/CADgiF9LadLK%3DP%2BLu4NvGmFPEyO3C9E_pmUMpLcUVyLPbMXew6w%40mail.gmail.com?utm_medium=email_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/5e7aa2b9.1c69fb81.c5525.677d%40mx.google.com
> <https://groups.google.com/d/msgid/jenkinsci-users/5e7aa2b9.1c69fb81.c5525.677d%40mx.google.com?utm_medium=email_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/CADgiF9LTr4A4BeAx75FD4Zu7fySMb8W29JKs%3D-N0EOpWP6oowQ%40mail.gmail.com.


RE: Re: Jenkins pipeline Testing

2020-03-24 Thread Jheison Rodriguez
Thanks for your response, Do you have any repo where I can find more examples?. Do you know if it’s possible to test declarative pipelines Best regardsJheison Rodriguez From: Jan MonterrubioSent: Tuesday, March 24, 2020 6:53 PMTo: jenkinsci-users@googlegroups.comSubject: Re: Jenkins pipeline Testing We unit test our pipelines with :  https://github.com/jenkinsci/JenkinsPipelineUnit We have some integration tests for them that require the Jenkins Test Rule and a docker agent that we configure as an external resource (junit4)  Overall the pipeline unit is super nice! We also use the Jenkins plugin for plugins to consume the plugins on our Jenkins instance as dependencies for our gradle build.   On Tue, Mar 24, 2020 at 12:32 Jheison Rodriguez <jasonll...@gmail.com> wrote:Hello Everyone, I'd like to know some thoughts about your experience with Jenkins pipelines testing (Jenkinsfile, Shared libraries, CPS, declarative pipeline). We want to start implementing it in our Company. Whatever help will be appreciate -- 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/5e7a440f.1c69fb81.e29e6.8eb8%40mx.google.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/CADgiF9LadLK%3DP%2BLu4NvGmFPEyO3C9E_pmUMpLcUVyLPbMXew6w%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/5e7aa2b9.1c69fb81.c5525.677d%40mx.google.com.


Re: Jenkins pipeline Testing

2020-03-24 Thread Jan Monterrubio
We unit test our pipelines with :

https://github.com/jenkinsci/JenkinsPipelineUnit

We have some integration tests for them that require the Jenkins Test Rule
and a docker agent that we configure as an external resource (junit4)


Overall the pipeline unit is super nice! We also use the Jenkins plugin for
plugins to consume the plugins on our Jenkins instance as dependencies for
our gradle build.


On Tue, Mar 24, 2020 at 12:32 Jheison Rodriguez 
wrote:

> Hello Everyone, I'd like to know some thoughts about your experience with
> Jenkins pipelines testing (Jenkinsfile, Shared libraries, CPS, declarative
> pipeline). We want to start implementing it in our Company.
>
>
>
> Whatever help will be appreciate
>
>
>
> --
> 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/5e7a440f.1c69fb81.e29e6.8eb8%40mx.google.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/CADgiF9LadLK%3DP%2BLu4NvGmFPEyO3C9E_pmUMpLcUVyLPbMXew6w%40mail.gmail.com.


Jenkins pipeline Testing

2020-03-24 Thread Jheison Rodriguez
Hello Everyone, I'd like to know some thoughts about your experience with Jenkins pipelines testing (Jenkinsfile, Shared libraries, CPS, declarative pipeline). We want to start implementing it in our Company. Whatever help will be appreciate 



-- 
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/5e7a440f.1c69fb81.e29e6.8eb8%40mx.google.com.