I was wondering if anyone has had success in managing a way to test your pipeline scripts locally outside of running your scripts within Jenkins. Currently, I'm deep diving into Groovy and was hoping to start a manageable development workflow against our pipeline scripts (i.e. setting up a Continuous Integration pipeline/workflow for our Continuous Integration pipeline scripts :))
I'm also curious if anyone had any suggestions for how to test the scripts in particular, possibly without a Jenkins instance on your machine (Docker or otherwise). i'm working with Spock and hoping to see how far I can get with testing them through it. I'm not sure if I would have to write elaborate mock objects so that my test code would work on my local machine and even then there's no guarantee I'm testing it properly. I understand if this sounds like a major undertaking but I was hoping to tame the complexity of our current build and deploy process with testable, manageable scripts. Thanks for your input! -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/906e3f5b-ecd7-4d8f-b74b-bfa4aaf7dfa4%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
