Jenkins pipeline Testing

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Jenkins pipeline Testing

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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/5e7a440f.1c69fb81.e29e6.8eb8%40mx.google.com.
Reply | Threaded
Open this post in threaded view
|

Re: Jenkins pipeline Testing

Jan Monterrubio
We unit test our pipelines with : 


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 <[hidden email]> 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 [hidden email].
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CADgiF9LadLK%3DP%2BLu4NvGmFPEyO3C9E_pmUMpLcUVyLPbMXew6w%40mail.gmail.com.
Reply | Threaded
Open this post in threaded view
|

RE: Re: Jenkins pipeline Testing

Jheison Rodriguez
In reply to this post by 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 regards

Jheison Rodriguez

 

From: [hidden email]
Sent: Tuesday, March 24, 2020 6:53 PM
To: [hidden email]
Subject: Re: Jenkins pipeline Testing

 

We unit test our pipelines with : 

 

 

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 <[hidden email]> 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 [hidden email].
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 [hidden email].
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/5e7aa2b9.1c69fb81.c5525.677d%40mx.google.com.
Reply | Threaded
Open this post in threaded view
|

Re: Re: Jenkins pipeline Testing

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 <[hidden email]> 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: [hidden email]
Sent: Tuesday, March 24, 2020 6:53 PM
To: [hidden email]
Subject: Re: Jenkins pipeline Testing

 

We unit test our pipelines with : 

 

 

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 <[hidden email]> 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 [hidden email].
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 [hidden email].

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/5e7aa2b9.1c69fb81.c5525.677d%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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CADgiF9LTr4A4BeAx75FD4Zu7fySMb8W29JKs%3D-N0EOpWP6oowQ%40mail.gmail.com.