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

Implement SimpleBuildStep for Pipeline Compatibility

    XMLWordPrintable

Details

    Description

      CucumberTestResultArchiver should implement SimpleBuildStep to allow tighter workflow integration. Since this plugin already relies on 1.580 core, this will hopefully be a straightforward refactor.

      Attachments

        Issue Links

          Activity

            teilo James Nord added a comment -

            Slightly more complex than that as it can be called multiple times in a workflow so needs to aggregate results from multiple calls, rather than just multiple files as it does now.

            Code is in Junit plugin so needs lifting across.

            teilo James Nord added a comment - Slightly more complex than that as it can be called multiple times in a workflow so needs to aggregate results from multiple calls, rather than just multiple files as it does now. Code is in Junit plugin so needs lifting across.
            jglick Jesse Glick added a comment - needs to aggregate results from multiple calls True, I needed to fix that in the JUnit plugin: https://github.com/jenkinsci/junit-plugin/commit/cad871720e7d5d9f740f3d3315f85fd33fbf67a8 https://github.com/jenkinsci/junit-plugin/commit/3fd230f488f85a1094f34a5e5143c69c00ff59ce https://github.com/jenkinsci/junit-plugin/commit/8946530c4c082d3e75cc9bacfa81c065e2ed779e

            Code changed in jenkins
            User: James Nord
            Path:
            pom.xml
            src/main/java/org/jenkinsci/plugins/cucumber/jsontestsupport/BackgroundResult.java
            src/main/java/org/jenkinsci/plugins/cucumber/jsontestsupport/BeforeAfterResult.java
            src/main/java/org/jenkinsci/plugins/cucumber/jsontestsupport/CucumberJSONParser.java
            src/main/java/org/jenkinsci/plugins/cucumber/jsontestsupport/CucumberTestResult.java
            src/main/java/org/jenkinsci/plugins/cucumber/jsontestsupport/CucumberTestResultAction.java
            src/main/java/org/jenkinsci/plugins/cucumber/jsontestsupport/CucumberTestResultArchiver.java
            src/main/java/org/jenkinsci/plugins/cucumber/jsontestsupport/DefaultTestResultParserImpl.java
            src/main/java/org/jenkinsci/plugins/cucumber/jsontestsupport/FeatureResult.java
            src/main/java/org/jenkinsci/plugins/cucumber/jsontestsupport/ScenarioResult.java
            src/main/java/org/jenkinsci/plugins/cucumber/jsontestsupport/StepResult.java
            src/main/java/org/jenkinsci/plugins/cucumber/jsontestsupport/TagResult.java
            src/test/java/org/jenkinsci/plugins/cucumber/jsontestsupport/CucumberJSONParserTest.java
            src/test/java/org/jenkinsci/plugins/cucumber/jsontestsupport/CucumberJSONSupportPluginIT.java
            src/test/resources/org/jenkinsci/plugins/cucumber/jsontestsupport/CucumberJSONSupportPluginIT/featureFail.json
            src/test/resources/org/jenkinsci/plugins/cucumber/jsontestsupport/CucumberJSONSupportPluginIT/featurePass.json
            src/test/resources/org/jenkinsci/plugins/cucumber/jsontestsupport/ScenarioResultTest/cucumber-jvm_examples_java-calculator__cucumber-report.json
            http://jenkins-ci.org/commit/cucumber-testresult-plugin/d87afb14e45b754d023ca76f2d47e5e3e531780e
            Log:
            Merge pull request #8 from helloeve/master

            JENKINS-26340 Pipeline Integration

            Compare: https://github.com/jenkinsci/cucumber-testresult-plugin/compare/48dda7f1f2a7...d87afb14e45b

            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: James Nord Path: pom.xml src/main/java/org/jenkinsci/plugins/cucumber/jsontestsupport/BackgroundResult.java src/main/java/org/jenkinsci/plugins/cucumber/jsontestsupport/BeforeAfterResult.java src/main/java/org/jenkinsci/plugins/cucumber/jsontestsupport/CucumberJSONParser.java src/main/java/org/jenkinsci/plugins/cucumber/jsontestsupport/CucumberTestResult.java src/main/java/org/jenkinsci/plugins/cucumber/jsontestsupport/CucumberTestResultAction.java src/main/java/org/jenkinsci/plugins/cucumber/jsontestsupport/CucumberTestResultArchiver.java src/main/java/org/jenkinsci/plugins/cucumber/jsontestsupport/DefaultTestResultParserImpl.java src/main/java/org/jenkinsci/plugins/cucumber/jsontestsupport/FeatureResult.java src/main/java/org/jenkinsci/plugins/cucumber/jsontestsupport/ScenarioResult.java src/main/java/org/jenkinsci/plugins/cucumber/jsontestsupport/StepResult.java src/main/java/org/jenkinsci/plugins/cucumber/jsontestsupport/TagResult.java src/test/java/org/jenkinsci/plugins/cucumber/jsontestsupport/CucumberJSONParserTest.java src/test/java/org/jenkinsci/plugins/cucumber/jsontestsupport/CucumberJSONSupportPluginIT.java src/test/resources/org/jenkinsci/plugins/cucumber/jsontestsupport/CucumberJSONSupportPluginIT/featureFail.json src/test/resources/org/jenkinsci/plugins/cucumber/jsontestsupport/CucumberJSONSupportPluginIT/featurePass.json src/test/resources/org/jenkinsci/plugins/cucumber/jsontestsupport/ScenarioResultTest/cucumber-jvm_examples_java-calculator__cucumber-report.json http://jenkins-ci.org/commit/cucumber-testresult-plugin/d87afb14e45b754d023ca76f2d47e5e3e531780e Log: Merge pull request #8 from helloeve/master JENKINS-26340 Pipeline Integration Compare: https://github.com/jenkinsci/cucumber-testresult-plugin/compare/48dda7f1f2a7...d87afb14e45b
            teilo James Nord added a comment -

            released as 0.9.something

            teilo James Nord added a comment - released as 0.9.something

            Code changed in jenkins
            User: Jesse Glick
            Path:
            COMPATIBILITY.md
            http://jenkins-ci.org/commit/pipeline-plugin/c4e08859b0bff01fc29bb84a60957c40e45e39e0
            Log:
            Merge pull request #407 from jenkinsci/cucumber-compat

            JENKINS-26340 Update COMPATIBILITY.md

            Compare: https://github.com/jenkinsci/pipeline-plugin/compare/83ab079aaf1b...c4e08859b0bf

            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jesse Glick Path: COMPATIBILITY.md http://jenkins-ci.org/commit/pipeline-plugin/c4e08859b0bff01fc29bb84a60957c40e45e39e0 Log: Merge pull request #407 from jenkinsci/cucumber-compat JENKINS-26340 Update COMPATIBILITY.md Compare: https://github.com/jenkinsci/pipeline-plugin/compare/83ab079aaf1b...c4e08859b0bf

            People

              Unassigned Unassigned
              apemberton Andy Pemberton
              Votes:
              5 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: