O'Reilly logo

Jenkins Continuous Integration Cookbook by Alan Berg

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Adding a banner to Job descriptions

Scenario: Your company has a public-facing Jenkins instance. The owner does not want the project owners to write unescaped tagging in the descriptions of projects. This poses too much of a security issue. However, the owner does want to put a company banner at the bottom of each description. You have 15 minutes to sort out the problem before the management starts buying in unnecessary advice. Within the first five minutes, you ascertain that the escape markup plugin (see Finding 500 errors and XSS attacks in Jenkins Through Fuzzing, Chapter 2, Enhancing Security) performs the escaping of the description.

This recipe shows you how to modify the markup plugin to add a banner to all the descriptions.

Getting ready ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required