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

The "Claim it" link for claiming tests doesn't work when the BFA plugin isn't installed

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: claim-plugin
    • Labels:
      None
    • Environment:
      Jenkins 2.7.x and 2.19.x with latest claim-plugin 2.8
    • Similar Issues:

      Description

      The claim-plugin allows users to claim failed JUnit tests by clicking on the "claim it" link (on the test results page). This link doesn't work when the Build-Failure-Analyzer (BFA) plugin isn't installed.
      The BFA plugin is an optional dependency of the claim-plugin so this isn't desired behaviour.

      Without the BFA plugin clicking on the "claim it" link results in Javascript errors such as "Uncaught ReferenceError: ShowPopup is not defined".

        Attachments

          Activity

          Show
          rickette Richard Kettelerij added a comment - PR submitted: https://github.com/jenkinsci/claim-plugin/pull/23
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: rkettelerij
          Path:
          src/main/java/hudson/plugins/claim/AbstractClaimBuildAction.java
          http://jenkins-ci.org/commit/claim-plugin/e83bf6471a09eee72544c107c764ff78124d07c9
          Log:
          [FIXED JENKINS-39538] "Claim it" link for tests didn't work when Build-Failure-Analyzer wasn't installed. Leading to Javascript errors such as "Uncaught ReferenceError: ShowPopup is not defined".

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: rkettelerij Path: src/main/java/hudson/plugins/claim/AbstractClaimBuildAction.java http://jenkins-ci.org/commit/claim-plugin/e83bf6471a09eee72544c107c764ff78124d07c9 Log: [FIXED JENKINS-39538] "Claim it" link for tests didn't work when Build-Failure-Analyzer wasn't installed. Leading to Javascript errors such as "Uncaught ReferenceError: ShowPopup is not defined".
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: ki82
          Path:
          src/main/java/hudson/plugins/claim/AbstractClaimBuildAction.java
          http://jenkins-ci.org/commit/claim-plugin/a45c19c31171a2bf620e75265bc4b21961500eac
          Log:
          Merge pull request #23 from rkettelerij/JENKINS-39538

          JENKINS-39538 "Claim it" link for tests didn't work when BFA plugin isn't installed

          Compare: https://github.com/jenkinsci/claim-plugin/compare/ad3ea11809a7...a45c19c31171

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: ki82 Path: src/main/java/hudson/plugins/claim/AbstractClaimBuildAction.java http://jenkins-ci.org/commit/claim-plugin/a45c19c31171a2bf620e75265bc4b21961500eac Log: Merge pull request #23 from rkettelerij/ JENKINS-39538 JENKINS-39538 "Claim it" link for tests didn't work when BFA plugin isn't installed Compare: https://github.com/jenkinsci/claim-plugin/compare/ad3ea11809a7...a45c19c31171

            People

            • Assignee:
              rickette Richard Kettelerij
              Reporter:
              rickette Richard Kettelerij
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: