Duplicate blank job menu items with broken images created for each p4 checkout

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Minor
    • Component/s: p4-plugin
    • None
    • Environment:
      Docker image jenkins/jenkins:2.531 in a docker network with a Perforce instance using p4-plugin 1.17.2

      When using the p4 plugin, on a job page, there is a duplicate blank menu item with a broken image for each time a checkout happens in a job.

      For example, if there is a default checkout and a checkout scm step in the job, there will be two of these blank menu items. If using skipDefaultCheckout, and a checkout scm step, there will be one of these blank menu items.

      To reproduce, I used the jenkins/jenkins:2.531 docker image of Jenkins with p4-plugin (1.17.2) as well as a clean docker instance of Perforce with a simple depot for tests. I created a simple job that pulls a Jenkinsfile from this stream, and in the pipeline it runs a checkout scm step. This results in these duplicate menu items.

      I then recreated the jenkins instance, but using p4-plugin (1.17.1) and this behaviour does not exist:

        1. image-2025-10-07-17-49-36-135.png
          22 kB
          Matthew Brunton
        2. image-2025-10-07-17-55-17-406.png
          18 kB
          Matthew Brunton

            Assignee:
            Unassigned
            Reporter:
            Matthew Brunton
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: