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

JaCoCo plugin 2.2.0 changeBuildStatus not work in pipeline

    Details

    • Type: Bug
    • Status: Fixed but Unreleased (View Workflow)
    • Priority: Major
    • Resolution: Cannot Reproduce
    • Component/s: jacoco-plugin
    • Labels:
      None
    • Similar Issues:

      Description

      hello!

      Flag changeBuildStatus in groovy pipeline not change job status

      My code:

          step([$class: 'JacocoPublisher',

                    classPattern: 'TransferCamelFtp/target/classes',

                    minimumInstructionCoverage:'100',

                    maximumInstructionCoverage:'90',

                    maximumBranchCoverage:'100',

                    minimumBranchCoverage:'90',

                    maximumComplexityCoverage:'100',

                    minimumComplexityCoverage:'80',

                    maximumLineCoverage:'100',

                    minimumLineCoverage:'80',

                    maximumMethodCoverage:'100',

                    minimumMethodCoverage:'80',

                    maximumClassCoverage:'100',

                    minimumClassCoverage:'80',

                    changeBuidStatus: true

          ])

        Attachments

          Activity

          Hide
          centic centic added a comment -

          Can you check if it works better after https://github.com/jenkinsci/jacoco-plugin/commit/a729cfa21fb3e070bcd666d5e16dcf47a92bacf8 is applied, i.e. by building the plugin locally and installing the updated .hpi file from the target-directory?

          Show
          centic centic added a comment - Can you check if it works better after https://github.com/jenkinsci/jacoco-plugin/commit/a729cfa21fb3e070bcd666d5e16dcf47a92bacf8 is applied, i.e. by building the plugin locally and installing the updated .hpi file from the target-directory?
          Hide
          centic centic added a comment -

          No response for a long time, thus closing for now.

          Show
          centic centic added a comment - No response for a long time, thus closing for now.

            People

            • Assignee:
              ognjenb Ognjen Bubalo
              Reporter:
              svaur svaur svaur
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: