I am using launcher.gcr.io/google/jenkins2
to run jenkins in gcp kubernetes engine.
Everything seems ok except that I get Could not initialize class org.jfree.chart.JFreeChart
error for every chart that jenkins attempt to draw. I googled the error and almost everyone solves that with adding -Djava.awt.headless=true
. As you can guess I already tried that and it does not work.
Ideas?