As a user I want to be able to analyse the test results for the various testing phases that exist in the workflow pipeline.

          [JENKINS-30522] Test results analyser should support workflow

          Jesse Glick added a comment -

          Looks really easy using TransientActionFactory<Job>.

          Jesse Glick added a comment - Looks really easy using TransientActionFactory<Job> .

          Code changed in jenkins
          User: Nigel Harniman
          Path:
          COMPATIBILITY.md
          http://jenkins-ci.org/commit/workflow-plugin/18736c824d5fbfecf1c8122a6514b7f49c3f98c9
          Log:
          noting JENKINS-30522 and JENKINS-30528

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Nigel Harniman Path: COMPATIBILITY.md http://jenkins-ci.org/commit/workflow-plugin/18736c824d5fbfecf1c8122a6514b7f49c3f98c9 Log: noting JENKINS-30522 and JENKINS-30528

          Code changed in jenkins
          User: mihai.parv
          Path:
          src/main/java/org/jenkinsci/plugins/testresultsanalyzer/TestResultsAnalyzerAction.java
          src/main/java/org/jenkinsci/plugins/testresultsanalyzer/TestResultsAnalyzerExtension.java
          http://jenkins-ci.org/commit/test-results-analyzer-plugin/aeefa19110c3aaa1a1efabc1e0f683fd019cae28
          Log:
          [FIXED JENKINS-30522] Test results analyser should support workflow

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: mihai.parv Path: src/main/java/org/jenkinsci/plugins/testresultsanalyzer/TestResultsAnalyzerAction.java src/main/java/org/jenkinsci/plugins/testresultsanalyzer/TestResultsAnalyzerExtension.java http://jenkins-ci.org/commit/test-results-analyzer-plugin/aeefa19110c3aaa1a1efabc1e0f683fd019cae28 Log: [FIXED JENKINS-30522] Test results analyser should support workflow

          Code changed in jenkins
          User: Varun Menon
          Path:
          src/main/java/org/jenkinsci/plugins/testresultsanalyzer/TestResultsAnalyzerAction.java
          src/main/java/org/jenkinsci/plugins/testresultsanalyzer/TestResultsAnalyzerExtension.java
          http://jenkins-ci.org/commit/test-results-analyzer-plugin/40c6fe31e667e3352b881363617ff8c69ba04f90
          Log:
          Merge pull request #31 from mihaiparv/master

          [FIXED JENKINS-30522] Test results analyser should support workflow

          Compare: https://github.com/jenkinsci/test-results-analyzer-plugin/compare/50ee9c49ce4e...40c6fe31e667

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Varun Menon Path: src/main/java/org/jenkinsci/plugins/testresultsanalyzer/TestResultsAnalyzerAction.java src/main/java/org/jenkinsci/plugins/testresultsanalyzer/TestResultsAnalyzerExtension.java http://jenkins-ci.org/commit/test-results-analyzer-plugin/40c6fe31e667e3352b881363617ff8c69ba04f90 Log: Merge pull request #31 from mihaiparv/master [FIXED JENKINS-30522] Test results analyser should support workflow Compare: https://github.com/jenkinsci/test-results-analyzer-plugin/compare/50ee9c49ce4e...40c6fe31e667

          Corey Mead added a comment -

          How do you use the test results plugin in the pipeline? Maybe I'm misunderstanding the issue because it doesn't seem fixed. I do not see it in the snippet generator and using the step command does not work for either the action or extension class. I must be missing something. Any help?

          Corey Mead added a comment - How do you use the test results plugin in the pipeline? Maybe I'm misunderstanding the issue because it doesn't seem fixed. I do not see it in the snippet generator and using the step command does not work for either the action or extension class. I must be missing something. Any help?

          Corey Mead added a comment -

          I tried adding the following to my Jenkins Pipeline - "step $class:'org.jenkinsci.plugins.testresultsanalyzer.TestResultsAnalyzerExtension'".

          Maybe I'm missing something, but I'm getting the error below. I'm not sure I understand how the last commit did anything to integrate the Test Results plugin with the Pipeline plugin.

          org.kohsuke.stapler.NoStaplerConstructorException: There's no @DataBoundConstructor on any constructor of class org.jenkinsci.plugins.testresultsanalyzer.TestResultsAnalyzerExtension
          at org.kohsuke.stapler.ClassDescriptor.loadConstructorParamNames(ClassDescriptor.java:247)

          Corey Mead added a comment - I tried adding the following to my Jenkins Pipeline - "step $class:'org.jenkinsci.plugins.testresultsanalyzer.TestResultsAnalyzerExtension'". Maybe I'm missing something, but I'm getting the error below. I'm not sure I understand how the last commit did anything to integrate the Test Results plugin with the Pipeline plugin. org.kohsuke.stapler.NoStaplerConstructorException: There's no @DataBoundConstructor on any constructor of class org.jenkinsci.plugins.testresultsanalyzer.TestResultsAnalyzerExtension at org.kohsuke.stapler.ClassDescriptor.loadConstructorParamNames(ClassDescriptor.java:247)

          Code changed in jenkins
          User: Jesse Glick
          Path:
          COMPATIBILITY.md
          http://jenkins-ci.org/commit/pipeline-plugin/c84a9af380854dbafd66e265b63cd05969ad7c47
          Log:
          Merge pull request #439 from alexbrjo/alexbrjo-compat-update

          JENKINS-32263 JENKINS-32650 JENKINS-33841 JENKINS-33310 JENKINS-26591 JENKINS-30522 Updated support status for several plugins

          Compare: https://github.com/jenkinsci/pipeline-plugin/compare/23d473486c8e...c84a9af38085

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jesse Glick Path: COMPATIBILITY.md http://jenkins-ci.org/commit/pipeline-plugin/c84a9af380854dbafd66e265b63cd05969ad7c47 Log: Merge pull request #439 from alexbrjo/alexbrjo-compat-update JENKINS-32263 JENKINS-32650 JENKINS-33841 JENKINS-33310 JENKINS-26591 JENKINS-30522 Updated support status for several plugins Compare: https://github.com/jenkinsci/pipeline-plugin/compare/23d473486c8e...c84a9af38085

          Jesse Glick added a comment -

          cjmead IIUC there is nothing to add to your script. The existing plugin functionality should just start working.

          Jesse Glick added a comment - cjmead IIUC there is nothing to add to your script. The existing plugin functionality should just start working.

          Joachim Herb added a comment -

          Using Jenkins 2.102 and Test Results Analyzer Plugin 0.3.4 I see exactly the same error as https://issues.jenkins-ci.org/browse/JENKINS-30522?focusedCommentId=266438&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-266438
          org.kohsuke.stapler.NoStaplerConstructorException: There's no @DataBoundConstructor on any constructor of class org.jenkinsci.plugins.testresultsanalyzer.TestResultsAnalyzerExtension

          Joachim Herb added a comment - Using Jenkins 2.102 and Test Results Analyzer Plugin 0.3.4 I see exactly the same error as https://issues.jenkins-ci.org/browse/JENKINS-30522?focusedCommentId=266438&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-266438 org.kohsuke.stapler.NoStaplerConstructorException: There's no @DataBoundConstructor on any constructor of class org.jenkinsci.plugins.testresultsanalyzer.TestResultsAnalyzerExtension

          Corey Mead added a comment -

          Use the junit pipeline step.  It'll configure the job automatically to use the test results analyzer and as long as you have valid test results, will show the analyzer appropriately.

          https://jenkins.io/doc/pipeline/steps/junit/

          Corey Mead added a comment - Use the junit pipeline step.  It'll configure the job automatically to use the test results analyzer and as long as you have valid test results, will show the analyzer appropriately. https://jenkins.io/doc/pipeline/steps/junit/

            menonvarun Varun Menon
            nharniman Nigel Harniman
            Votes:
            3 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated: