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

Retrigger buttons are not visible after upgrade to 2.38.1

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Fixed
    • gerrit-trigger-plugin
    • None
    • Jenkins - 2.375.2
      Gerrit Trigger - 2.38.1
    • Fix released in vers. 2.39

    Description

      After upgrading from 2.38.0 to 2.38.1, the "Retrigger" and "Retrigger All" buttons are not visible. See the attached screenshot for an example.

      If the pipeline execution is aborted and the page is refreshed, the buttons become visible.

      Attachments

        Activity

          robrizlav Roberto Rizzetto added a comment - - edited

          I experience the same problem with "Free Style Jobs" triggered by gerrit.

          Retrigger and "Retrigger All" are visible if no job triggered by the same patchset is running.

          Retrigger is visible and "Retrigger All" NOT visible if another job triggered by the same patchset is running

          Retrigger and "Retrigger All" are NOT visible if the visualized build is running, see example in following image.

           

          my environment:

          1. Jenkins: 2.375.2
            gerrit-trigger:2.38.1
          2. OS: Linux-5.15.35-1.NSN.el7.x86_64 / Red Hat Enterprise Linux Server release 7.6 (Maipo)
          3. Java: jdk-11.0.17+8
          4. Plugin List:

            PrioritySorter:4.1.0
            ace-editor:1.1
            analysis-model-api:10.22.0
            antisamy-markup-formatter:155.v795fb_8702324
            apache-httpcomponents-client-4-api:4.5.13-138.v4e7d9a_7b_a_e61
            authentication-tokens:1.4
            bootstrap4-api:4.6.0-5
            bootstrap5-api:5.2.1-3
            bouncycastle-api:2.27
            branch-api:2.1071.v1a_188a_562481
            build-timeout:1.28
            build-user-vars-plugin:1.9
            buildtriggerbadge:251.vdf6ef853f3f5
            caffeine-api:2.9.3-65.v6a_47d0f4d1fe
            checks-api:1.8.1
            claim:516.v36293563731d
            cloudbees-folder:6.800.v71307ca_b_986b
            command-launcher:90.v669d7ccb_7c31
            commons-lang3-api:3.12.0-36.vd97de6465d5b_
            commons-text-api:1.10.0-27.vb_fa_3896786a_7
            conditional-buildstep:1.4.2
            copyartifact:681.va_a_298c7f9c01
            credentials:1214.v1de940103927
            credentials-binding:523.vd859a_4b_122e6
            dashboard-view:2.466.vdfefd95a_b_f8d
            data-tables-api:1.12.1-4
            depgraph-view:1.0.5
            description-setter:1.9-SNAPSHOT
            (private-02/02/2012
            18:07-dems00e7)
            display-url-api:2.3.7
            docker-commons:1.21
            durable-task:504.vb10d1ae5ba2f
            echarts-api:5.4.0-1
            email-ext:2.93
            envinject-api:1.199.v3ce31253ed13
            extended-read-permission:3.2
            external-monitor-job:203.v683c09d993b_9
            extra-columns:1.25
            font-awesome-api:6.2.1-1
            forensics-api:1.17.0
            gerrit-trigger:2.38.1
            git:5.0.0
            git-client:4.1.0
            git-server:99.va_0826a_b_cdfa_d
            groovy:453.vcdb_a_c5c99890
            handlebars:3.0.8
            htmlpublisher:1.31
            instance-identity:142.v04572ca_5b_265
            ionicons-api:31.v4757b_6987003
            jackson2-api:2.14.1-313.v504cdd45c18b
            jakarta-activation-api:2.0.1-2
            jakarta-mail-api:2.0.1-2
            javadoc:226.v71211feb_e7e9
            javax-activation-api:1.2.0-5
            javax-mail-api:1.6.2-8
            jaxb:2.3.7-1
            jdk-tool:63.v62d2fd4b_4793
            jenkinslint:0.14.0
            jjwt-api:0.11.5-77.v646c772fddb_0
            jnr-posix-api:3.1.16-1
            jobConfigHistory:1198.v4d5736c2308c
            jquery:1.12.4-1
            jquery-detached:1.2.1
            jquery3-api:3.6.1-2
            jsch:0.1.55.61.va_e9ee26616e7
            junit:1166.va_436e268e972
            ldap:659.v8ca_b_a_fe79fa_d
            leastload:3.0.0
            lockable-resources:1113.vf66761f17f1e
            log-parser:2.3.0
            mailer:438.v02c7f0a_12fa_4
            mapdb-api:1.0.9-28.vf251ce40855d
            matrix-auth:3.1.6
            matrix-project:785.v06b_7f47b_c631
            maven-plugin:3.20
            mina-sshd-api-common:2.9.2-50.va_0e1f42659a_a
            mina-sshd-api-core:2.9.2-50.va_0e1f42659a_a
            modernstatus:1.3
            momentjs:1.1.1
            monitoring:1.91.0
            naginator:1.18.2
            nested-view:1.26
            okhttp-api:4.9.3-108.v0feda04578cf
            pam-auth:1.10
            parameterized-trigger:2.45
            pipeline-build-step:2.18
            pipeline-graph-analysis:202.va_d268e64deb_3
            pipeline-groovy-lib:629.vb_5627b_ee2104
            pipeline-input-step:466.v6d0a_5df34f81
            pipeline-milestone-step:111.v449306f708b_7
            pipeline-model-api:2.2118.v31fd5b_9944b_5
            pipeline-model-definition:2.2118.v31fd5b_9944b_5
            pipeline-model-extensions:2.2118.v31fd5b_9944b_5
            pipeline-rest-api:2.30
            pipeline-stage-step:305.ve96d0205c1c6
            pipeline-stage-tags-metadata:2.2118.v31fd5b_9944b_5
            pipeline-stage-view:2.30
            plain-credentials:143.v1b_df8b_d3b_e48
            plugin-usage-plugin:4.0
            plugin-util-api:2.20.0
            popper-api:1.16.1-3
            popper2-api:2.11.6-2
            postbuild-task:1.9
            promoted-builds:892.vd6219fc0a_efb
            rebuild:1.34
            resource-disposer:0.20
            role-strategy:587.v2872c41fa_e51
            run-condition:1.5
            saferestart:0.7
            saml:4.385.v4dea_91565e9d
            scm-api:631.v9143df5b_e4a_a
            script-security:1229.v4880b_b_e905a_6
            sectioned-view:1.25
            sidebar-link:2.2.1
            simple-theme-plugin:136.v23a_15f86c53d
            snakeyaml-api:1.33-90.v80dcb_3814d35
            ssh-credentials:305.v8f4381501156
            ssh-slaves:2.854.v7fd446b_337c9
            sshd:3.275.v9e17c10f2571
            startup-trigger-plugin:2.9.3
            structs:324.va_f5d6774f3a_d
            subversion:2.17.0
            throttle-concurrents:2.10
            timestamper:1.21
            token-macro:321.vd7cc1f2a_52c8
            trilead-api:2.84.v72119de229b_7
            variant:59.vf075fe829ccb
            versioncolumn:95.v82f3985cd6e1
            view-job-filters:2.3
            windows-slaves:1.8.1
            workflow-aggregator:590.v6a_d052e5a_a_b_5
            workflow-api:1208.v0cc7c6e0da_9e
            workflow-basic-steps:994.vd57e3ca_46d24
            workflow-cps:3606.v0b_d8b_e512dcf
            workflow-durable-task-step:1223.v7f1a_98a_8863e
            workflow-job:1268.v6eb_e2ee1a_85a
            workflow-multibranch:716.vc692a_e52371b_
            workflow-scm-step:400.v6b_89a_1317c9a_
            workflow-step-api:639.v6eca_cd8c04a_a_
            workflow-support:839.v35e2736cfd5c
            ws-cleanup:0.44

          robrizlav Roberto Rizzetto added a comment - - edited I experience the same problem with "Free Style Jobs" triggered by gerrit. Retrigger and "Retrigger All" are visible if no job triggered by the same patchset is running. Retrigger is visible and "Retrigger All" NOT visible if another job triggered by the same patchset is running Retrigger and "Retrigger All" are NOT visible if the visualized build is running, see example in following image.   my environment: Jenkins: 2.375.2 gerrit-trigger:2.38.1 OS: Linux-5.15.35-1.NSN.el7.x86_64 / Red Hat Enterprise Linux Server release 7.6 (Maipo) Java: jdk-11.0.17+8 Plugin List: PrioritySorter:4.1.0 ace-editor:1.1 analysis-model-api:10.22.0 antisamy-markup-formatter:155.v795fb_8702324 apache-httpcomponents-client-4-api:4.5.13-138.v4e7d9a_7b_a_e61 authentication-tokens:1.4 bootstrap4-api:4.6.0-5 bootstrap5-api:5.2.1-3 bouncycastle-api:2.27 branch-api:2.1071.v1a_188a_562481 build-timeout:1.28 build-user-vars-plugin:1.9 buildtriggerbadge:251.vdf6ef853f3f5 caffeine-api:2.9.3-65.v6a_47d0f4d1fe checks-api:1.8.1 claim:516.v36293563731d cloudbees-folder:6.800.v71307ca_b_986b command-launcher:90.v669d7ccb_7c31 commons-lang3-api:3.12.0-36.vd97de6465d5b_ commons-text-api:1.10.0-27.vb_fa_3896786a_7 conditional-buildstep:1.4.2 copyartifact:681.va_a_298c7f9c01 credentials:1214.v1de940103927 credentials-binding:523.vd859a_4b_122e6 dashboard-view:2.466.vdfefd95a_b_f8d data-tables-api:1.12.1-4 depgraph-view:1.0.5 description-setter:1.9-SNAPSHOT (private-02/02/2012 18:07-dems00e7) display-url-api:2.3.7 docker-commons:1.21 durable-task:504.vb10d1ae5ba2f echarts-api:5.4.0-1 email-ext:2.93 envinject-api:1.199.v3ce31253ed13 extended-read-permission:3.2 external-monitor-job:203.v683c09d993b_9 extra-columns:1.25 font-awesome-api:6.2.1-1 forensics-api:1.17.0 gerrit-trigger:2.38.1 git:5.0.0 git-client:4.1.0 git-server:99.va_0826a_b_cdfa_d groovy:453.vcdb_a_c5c99890 handlebars:3.0.8 htmlpublisher:1.31 instance-identity:142.v04572ca_5b_265 ionicons-api:31.v4757b_6987003 jackson2-api:2.14.1-313.v504cdd45c18b jakarta-activation-api:2.0.1-2 jakarta-mail-api:2.0.1-2 javadoc:226.v71211feb_e7e9 javax-activation-api:1.2.0-5 javax-mail-api:1.6.2-8 jaxb:2.3.7-1 jdk-tool:63.v62d2fd4b_4793 jenkinslint:0.14.0 jjwt-api:0.11.5-77.v646c772fddb_0 jnr-posix-api:3.1.16-1 jobConfigHistory:1198.v4d5736c2308c jquery:1.12.4-1 jquery-detached:1.2.1 jquery3-api:3.6.1-2 jsch:0.1.55.61.va_e9ee26616e7 junit:1166.va_436e268e972 ldap:659.v8ca_b_a_fe79fa_d leastload:3.0.0 lockable-resources:1113.vf66761f17f1e log-parser:2.3.0 mailer:438.v02c7f0a_12fa_4 mapdb-api:1.0.9-28.vf251ce40855d matrix-auth:3.1.6 matrix-project:785.v06b_7f47b_c631 maven-plugin:3.20 mina-sshd-api-common:2.9.2-50.va_0e1f42659a_a mina-sshd-api-core:2.9.2-50.va_0e1f42659a_a modernstatus:1.3 momentjs:1.1.1 monitoring:1.91.0 naginator:1.18.2 nested-view:1.26 okhttp-api:4.9.3-108.v0feda04578cf pam-auth:1.10 parameterized-trigger:2.45 pipeline-build-step:2.18 pipeline-graph-analysis:202.va_d268e64deb_3 pipeline-groovy-lib:629.vb_5627b_ee2104 pipeline-input-step:466.v6d0a_5df34f81 pipeline-milestone-step:111.v449306f708b_7 pipeline-model-api:2.2118.v31fd5b_9944b_5 pipeline-model-definition:2.2118.v31fd5b_9944b_5 pipeline-model-extensions:2.2118.v31fd5b_9944b_5 pipeline-rest-api:2.30 pipeline-stage-step:305.ve96d0205c1c6 pipeline-stage-tags-metadata:2.2118.v31fd5b_9944b_5 pipeline-stage-view:2.30 plain-credentials:143.v1b_df8b_d3b_e48 plugin-usage-plugin:4.0 plugin-util-api:2.20.0 popper-api:1.16.1-3 popper2-api:2.11.6-2 postbuild-task:1.9 promoted-builds:892.vd6219fc0a_efb rebuild:1.34 resource-disposer:0.20 role-strategy:587.v2872c41fa_e51 run-condition:1.5 saferestart:0.7 saml:4.385.v4dea_91565e9d scm-api:631.v9143df5b_e4a_a script-security:1229.v4880b_b_e905a_6 sectioned-view:1.25 sidebar-link:2.2.1 simple-theme-plugin:136.v23a_15f86c53d snakeyaml-api:1.33-90.v80dcb_3814d35 ssh-credentials:305.v8f4381501156 ssh-slaves:2.854.v7fd446b_337c9 sshd:3.275.v9e17c10f2571 startup-trigger-plugin:2.9.3 structs:324.va_f5d6774f3a_d subversion:2.17.0 throttle-concurrents:2.10 timestamper:1.21 token-macro:321.vd7cc1f2a_52c8 trilead-api:2.84.v72119de229b_7 variant:59.vf075fe829ccb versioncolumn:95.v82f3985cd6e1 view-job-filters:2.3 windows-slaves:1.8.1 workflow-aggregator:590.v6a_d052e5a_a_b_5 workflow-api:1208.v0cc7c6e0da_9e workflow-basic-steps:994.vd57e3ca_46d24 workflow-cps:3606.v0b_d8b_e512dcf workflow-durable-task-step:1223.v7f1a_98a_8863e workflow-job:1268.v6eb_e2ee1a_85a workflow-multibranch:716.vc692a_e52371b_ workflow-scm-step:400.v6b_89a_1317c9a_ workflow-step-api:639.v6eca_cd8c04a_a_ workflow-support:839.v35e2736cfd5c ws-cleanup:0.44
          martinjost Martin Jost added a comment -

          IMHO this is partly correct behaviour.
          IIRC, in the past the buttons disappeared without a trace in the cases described by Roberto,

          Now the icons disappear, while the space is still there,
          Obviously a icon showing that the button can't be used because the actions is already running would be better.

          martinjost Martin Jost added a comment - IMHO this is partly correct behaviour. IIRC, in the past the buttons disappeared without a trace in the cases described by Roberto, Now the icons disappear, while the space is still there, Obviously a icon showing that the button can't be used because the actions is already running would be better.
          ckreisl ckreisl added a comment - Tackled it here: https://github.com/jenkinsci/gerrit-trigger-plugin/pull/485

          People

            ckreisl ckreisl
            andreyakostovsap Andreya Kostov
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: