I recently switched to using docker containers in my Jenkins pipelines and it seems that the jenkins HTML publisher plugin doesn't seem to work from within the container.
What I mean by that, is that after the build an HTML file is generated, which I wish to be published. I am using the HTML publisher plugin for that which worked perfectly fine until switching to building with containers.
Should the HTML publisher plugin work from within the container? If not are there any alternatives to publishing the HTML from within the container?
Thank you.
The publisher plugin will work inside of the container, but not if you are trying to access an area inside the container. This means if you need to access something like the /etc of the container, you will not be able to because the plugin will actually be accessing the /etc of the Jenkins host. You can the workspace though inside of the container though.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With