Details

    • Sprint:
      GSoC - Coding Phase 1
    • Similar Issues:

      Description

      The pipeline API should support pipeline, by providing a build step

      AC

      • You can specify report files via a groovy build step
      • You can use the snippet generator to build the step

        Attachments

          Activity

          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: cizezsy
          Path:
          src/main/java/io/jenkins/plugins/coverage/CoveragePublisher.java
          src/main/java/io/jenkins/plugins/coverage/adapter/XMLCoverageReportAdapter.java
          src/main/java/io/jenkins/plugins/coverage/adapter/util/XMLUtils.java
          src/main/java/io/jenkins/plugins/coverage/threshold/Threshold.java
          http://jenkins-ci.org/commit/code-coverage-api-plugin/c7049201f56bad243e145168c227c9ffc83ccda9
          Log:
          JENKINS-51363 Pipeline support

          • add @Symbol on CoveragePublisher
          • remove optional params in @DataBoundConstructor constructor, and using @DataBoundSetter public propery setter to config them.
          • fix bug in XMLCoverageReportAdapter, which when plugin is packaged, xsl will not be propery find.
          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: cizezsy Path: src/main/java/io/jenkins/plugins/coverage/CoveragePublisher.java src/main/java/io/jenkins/plugins/coverage/adapter/XMLCoverageReportAdapter.java src/main/java/io/jenkins/plugins/coverage/adapter/util/XMLUtils.java src/main/java/io/jenkins/plugins/coverage/threshold/Threshold.java http://jenkins-ci.org/commit/code-coverage-api-plugin/c7049201f56bad243e145168c227c9ffc83ccda9 Log: JENKINS-51363 Pipeline support add @Symbol on CoveragePublisher remove optional params in @DataBoundConstructor constructor, and using @DataBoundSetter public propery setter to config them. fix bug in XMLCoverageReportAdapter, which when plugin is packaged, xsl will not be propery find.
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: ShenYu Zheng
          Path:
          src/main/java/io/jenkins/plugins/coverage/CoverageProcessor.java
          src/main/java/io/jenkins/plugins/coverage/CoveragePublisher.java
          src/main/java/io/jenkins/plugins/coverage/adapter/CoberturaReportAdapter.java
          src/main/java/io/jenkins/plugins/coverage/adapter/CoverageReportAdapterDescriptor.java
          src/main/java/io/jenkins/plugins/coverage/adapter/JacocoReportAdapter.java
          src/main/java/io/jenkins/plugins/coverage/adapter/XMLCoverageReportAdapter.java
          src/main/java/io/jenkins/plugins/coverage/adapter/util/XMLUtils.java
          src/main/java/io/jenkins/plugins/coverage/threshold/Threshold.java
          src/test/java/io/jenkins/plugins/coverage/CoveragePublisherPipelineTest.java
          src/test/resources/cobertura-coverage.xml
          src/test/resources/coverage-with-lots-of-data.xml
          src/test/resources/io/jenkins/plugins/coverage/cobertura-coverage.xml
          src/test/resources/io/jenkins/plugins/coverage/coverage-with-lots-of-data.xml
          src/test/resources/io/jenkins/plugins/coverage/jacoco.xml
          src/test/resources/jacoco.xml
          http://jenkins-ci.org/commit/code-coverage-api-plugin/c722e1f4dcba33df93296f1a1d89877849aade69
          Log:
          Merge pull request #5 from cizezsy/pipeline

          JENKINS-51363 Pipeline support

          Compare: https://github.com/jenkinsci/code-coverage-api-plugin/compare/c3a07da49be4...c722e1f4dcba
          *NOTE:* This service been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

          Functionality will be removed from GitHub.com on January 31st, 2019.

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: ShenYu Zheng Path: src/main/java/io/jenkins/plugins/coverage/CoverageProcessor.java src/main/java/io/jenkins/plugins/coverage/CoveragePublisher.java src/main/java/io/jenkins/plugins/coverage/adapter/CoberturaReportAdapter.java src/main/java/io/jenkins/plugins/coverage/adapter/CoverageReportAdapterDescriptor.java src/main/java/io/jenkins/plugins/coverage/adapter/JacocoReportAdapter.java src/main/java/io/jenkins/plugins/coverage/adapter/XMLCoverageReportAdapter.java src/main/java/io/jenkins/plugins/coverage/adapter/util/XMLUtils.java src/main/java/io/jenkins/plugins/coverage/threshold/Threshold.java src/test/java/io/jenkins/plugins/coverage/CoveragePublisherPipelineTest.java src/test/resources/cobertura-coverage.xml src/test/resources/coverage-with-lots-of-data.xml src/test/resources/io/jenkins/plugins/coverage/cobertura-coverage.xml src/test/resources/io/jenkins/plugins/coverage/coverage-with-lots-of-data.xml src/test/resources/io/jenkins/plugins/coverage/jacoco.xml src/test/resources/jacoco.xml http://jenkins-ci.org/commit/code-coverage-api-plugin/c722e1f4dcba33df93296f1a1d89877849aade69 Log: Merge pull request #5 from cizezsy/pipeline JENKINS-51363 Pipeline support Compare: https://github.com/jenkinsci/code-coverage-api-plugin/compare/c3a07da49be4...c722e1f4dcba * NOTE: * This service been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/ Functionality will be removed from GitHub.com on January 31st, 2019.
          Hide
          feliwir Stephan Vedder added a comment -

          This is a must have for everyone using the BlueOcean UI. In declarative pipelines it would be unusable otherwise. Please also make sure the Pipeline Editor will work correctly, because some plugins are really broken in that regard.

          Show
          feliwir Stephan Vedder added a comment - This is a must have for everyone using the BlueOcean UI. In declarative pipelines it would be unusable otherwise. Please also make sure the Pipeline Editor will work correctly, because some plugins are really broken in that regard.

            People

            • Assignee:
              cizezsy Shenyu Zheng
              Reporter:
              jeffpearce Jeff Pearce
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: