Installation method 1
Jenkins=>Plugin Management=>Optional Plugins
Search for Theme and
choose Simple Theme to install directly
Installation method 2
Compare the plugin https://plugins.jenkins.io/
Download the plugin manually http://updates.jenkins-ci.org/download/plugins/
enter
ctrl+f search for simple-theme-plugin
Use theme plugins
Enter
System Management>Global Security Configuration>Mark Formatter>Set as Safe HTML
System Management>System Configuration>Theme>Theme element (Add CSS URL) and
fill in the style link
Mine is blue
http://afonsof.com/jenkins-
Save material-theme/dist/material-blue.css and you can see the effect.
Pipeline installation
Search workflow-aggregator
Solution to error when pipeline script contains function method in groovy
- Add plugin, Permissive Script Security, add -Dpermissive-script-security.enabled=true when starting jenkins
- "Manage Jenkins" -> "In-process Script Approval" and click approval (or directly add in scriptApproval.xml in the root directory, and restart jenkins after adding)
- Don't use Groovy scripts