Deffiss / testenvironment-docker

MIT License
117 stars 30 forks source link

Use in Jenkins #79

Closed LGmatrix13 closed 1 year ago

LGmatrix13 commented 1 year ago

Would it be possible to use this package in a Jenkins pipeline? As far as I know, Jenkins uses docker. Would this be a docker in docker situation? Or would it be more simple?

Deffiss commented 1 year ago

Hi @LGmatrix13 My understanding is that your Jenkins pipeline may run particular steps inside Docker containers. In this case, yes, you'll have a situation of Docker in Docker and you'll have to take that into account when build your tests. But this is not a default behavior of Jenkins, you need to configure builds in Docker explicitly.