We use testcontainers in JCasC with great success and we are able to run 
those tests on Windows (if only they weren't so unstable)

We use assumeTrue to disable tests when docker is not available.

See 
here: 
https://github.com/jenkinsci/configuration-as-code-plugin/blob/791fccccee41018fbe9e00c32409aadc92eb30df/plugin/src/test/java/io/jenkins/plugins/casc/vault/VaultSecretSourceTest.java#L66

On Thursday, May 16, 2019 at 2:23:55 PM UTC+2, Chris Kilding wrote:
>
> I was able to substitute in the fabric8 Docker Maven Plugin to run Moto. 
> It seems to work fine on the Linux build agent, but the Windows agent 
> doesn’t like it (no Docker host or docker.sock available.)
>
> Is there another way to get Docker support on the Windows agent, or is 
> this ‘in the works’ for the future?
>
> Chris
>
> On Wed, 15 May 2019, at 6:45 PM, R. Tyler Croy wrote:
>
> (replies inline)
>
> On Wed, 15 May 2019, Chris Kilding wrote:
>
> > Yep, that sounds reasonable. (I had suspected as much - there would be 
> no end
> > to the possible system packages that plugin developers might want.)
> > 
> > Do the ‘docker’-labelled Jenkins agents support the usual 
> ‘dockerfile’
> > directive to let the build define a Docker image ad-hoc? Or do all 
> images have
> > to be pre-packed and hosted on a registry?
>
>
> The 'docker' labeled agents are all full VMs and the pipelines do have full
> access to the Docker socket, so Dockerfiles should be fine.
>
>
>
> --
> GitHub:  https://github.com/rtyler
>
> GPG Key ID: 0F2298A980EE31ACCA0A7825E5C92681BEF6CEA2
>
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Jenkins Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected] <javascript:>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/jenkinsci-dev/WOA6p30q5mgycsLk5VZWSBiSey1OiqQD4rFxG5C_2j1RKEGXDJYRZKpdymzN5Sl2z8BnWWsD7k9XBQvtlLx6PX8FVVDESCa8G4-N2vd-Xng%3D%40brokenco.de
> .
> For more options, visit https://groups.google.com/d/optout.
>
>
> *Attachments:*
>
>    - signature.asc
>    
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" 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-dev/d4ed2144-0377-4fa0-9a8b-0578bbc01bb6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to