interesting question! I asked the same one some time, the closest solution 
was:
- 
https://github.com/jenkinsci/htmlpublisher-plugin/blob/master/src/test/java/htmlpublisher/workflow/PublishHTMLStepTest.java#L170-L187
Maybe there is already another way of testing pipeline/workflows

On Friday, 26 February 2016 00:04:43 UTC, Tom Kierzkowski wrote:
>
> 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/0c104f01-f3ee-41f8-bb68-05cebd3cd04c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to