Skip to content

"Text" badges don't work #453

@daniel-beck

Description

@daniel-beck

Jenkins and plugins versions report

All Jenkins releases since late 2018

What Operating System are you using (both controller, and any agents involved in the problem)?

any

Reproduction steps

  1. Have a job named "fs" with a build
  2. Navigate to http://localhost:8080/job/fs/1/badge/text

Expected Results

"Text badge"

Actual Results

Error on UI, and this log message:

Dec 09, 2025 8:37:36 AM FINER jenkins.security.stapler.StaplerFilteredActionListener New Stapler routing rules result in the URL "/job/fs/badge/text" no longer being allowed. If you consider it safe to use, add the following to the whitelist: "method org.jenkinsci.plugins.badge.actions.JobBadgeAction doText". Learn more: https://www.jenkins.io/redirect/stapler-routing

Anything else?

This hasn't worked in years: https://www.jenkins.io/security/advisory/2018-12-05/

Time to delete an unused feature?

Are you interested in contributing a fix?

No

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions