Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

159
Vistas
Jenkins publishHTML for groovydoc failed to render index.html perhaps due to javascript presense

How can I get groovydoc index.html to render in jenkins?

  • build calls groovydoc gradle task
  • uses publishHTML to publish
publishHTML(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:

  • How can I selectively allow javascript to run?
  • How can I get gradle to generate more HTML in the index file and no javascript?

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.

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda