#!groovy /* * This script configures the simple theme plugin. * Requires the simple theme plugin to be installed. * Tested with simple-theme-plugin:0.5.1 * * Use http://afonsof.com/jenkins-material-theme/ to generate a new jenkins theme. * Place the theme at the userContent directory of Jenkins to be publicly available */ for (pd in PageDecorator.all()) { if (pd instanceof org.codefirst.SimpleThemeDecorator) { pd.setCssUrl('https://my-jenkins.devtail.io/userContent/fishi0x01.css') pd.load() } }