Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-76182

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • p4-plugin
    • None
    • 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:

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

              Created:
              Updated: