Patron of Jenkins program
Go to file
R. Tyler Croy 5c38967b3f Add notes on the wiki implementation and deployment 2016-07-25 17:12:52 -07:00
.gitignore Implemented the generator program 2014-03-21 17:13:20 -07:00
Jenkinsfile Create a simple Jenkinsfile 2016-04-27 15:36:27 -07:00
README.md Add notes on the wiki implementation and deployment 2016-07-25 17:12:52 -07:00
build.groovy Make build.groovy executable 2016-07-25 15:04:38 -07:00
message.html Generating everything up front so that we can switch at the quarter 2014-03-21 17:35:36 -07:00
messages.xml Use jenkins.io hosted XebiaLabs logo 2016-07-04 00:58:23 +02:00
patron.css Implemented the generator program 2014-03-21 17:13:20 -07:00

README.md

Patron of Jenkins

This program defines a donation level to the Jenkins project, called "Patron of Jenkins," for donations at or above $750. To show appreciation to patrons of Jenkins, we will allow them to display messages on our website in a non-obtrusive way. See Wiki page for more details of the program.

This repository maintains the source code, master data, and a program that generates the actual messages that follow the specified format. Once the donation is confirmed, Lisa Wells updates the file to include your message.

This then gets processed by Jenkins-on-Jenkins to be uploaded into the production server.

Wiki implementation

Jenkins Wiki shows patron messages through the "Page Templates" where the following code block is inserted:

<script>
if (Math.random()*7<1) {
  document.write("<div align='center'><div style='width: 568px; color: #888; text-align:right; font-size:10px'>Message from a Patron of Jenkins</div><iframe src='https://jenkins-infra.github.io/patron/message.html' width=568 height=75 style='border: 1px solid #ccc; overflow:hidden'></iframe></div>");
}
</script>

Deployment

  1. ./build.groovy
  2. git checkout gh-pages
  3. cp output/* .
  4. git commit -a
  5. git push