How can I get groovydoc index.html to render in jenkins?
groovydoc gradle taskpublishHTML(target: [
allowMissing : false,
alwaysLinkToLastBuild: false,
keepAll : true,
reportDir : 'build/docs/groovydoc',
reportFiles : 'index.html',
and fails to render properly. Looking at the html files I see that index.html uses javascript and index-all.html does not. Publishing using index-all.html renders fine but is less pretty.
How can I resolve this:
I figure, one of those two levers will resolve the problem. I'd prefer the later as I don't really want javascript executing as it presents a risk whereas a groovyscript generation process that takes longer or produces a larger index.html file seems fine to me.