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

Claiming tests isn't compatible with Jenkins 2.0 pipelines

    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 offers a ClaimTestDataPublisher which allows one to claim failed JUnit tests. The ClaimTestDataPublisher isn't however compatible with Jenkins pipeline plugin. When used in a pipeline script it causes the pipeline run to indefinitely "hang" when publishing test results.

        Attachments

          Activity

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

          Code changed in jenkins
          User: rkettelerij
          Path:
          pom.xml
          src/main/java/hudson/plugins/claim/ClaimTestAction.java
          src/main/java/hudson/plugins/claim/ClaimTestDataPublisher.java
          http://jenkins-ci.org/commit/claim-plugin/020aa5d5d588cf4dc922bb3dd687b32bcb63d8ed
          Log:
          [FIXED JENKINS-39537] Fixed ClaimTestDataPublisher not working with Jenkins 2.0 pipelines (kept hanging while publishing JUnit results).

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: rkettelerij Path: pom.xml src/main/java/hudson/plugins/claim/ClaimTestAction.java src/main/java/hudson/plugins/claim/ClaimTestDataPublisher.java http://jenkins-ci.org/commit/claim-plugin/020aa5d5d588cf4dc922bb3dd687b32bcb63d8ed Log: [FIXED JENKINS-39537] Fixed ClaimTestDataPublisher not working with Jenkins 2.0 pipelines (kept hanging while publishing JUnit results).
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: rkettelerij
          Path:
          pom.xml
          http://jenkins-ci.org/commit/claim-plugin/518b305f712f13d800777b6efc7994f157564c15
          Log:
          [FIXED JENKINS-39537] Fixed ClaimTestDataPublisher not working with Jenkins 2.0 pipelines (kept hanging while publishing JUnit results). + Got tests working again.

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: rkettelerij Path: pom.xml http://jenkins-ci.org/commit/claim-plugin/518b305f712f13d800777b6efc7994f157564c15 Log: [FIXED JENKINS-39537] Fixed ClaimTestDataPublisher not working with Jenkins 2.0 pipelines (kept hanging while publishing JUnit results). + Got tests working again.
          Hide
          greybird Arnaud TAMAILLON added a comment -

          Sorry, misclick.

          Show
          greybird Arnaud TAMAILLON added a comment - Sorry, misclick.

            People

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

              Dates

              • Created:
                Updated:
                Resolved: