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

Cannot set JaCoCo deltaLineCoverage while using Job DSL

      Hi

      Our build jobs created via seed job.

      I'm trying to stop the build if the JaCoCo 'Line coverage' passes the threshold, but although the value can be set at the config page of the job, the seed job fails as the 'deltaLineCoverage' do not includes at jacocoCodeCoverage.

       

          [JENKINS-59102] Cannot set JaCoCo deltaLineCoverage while using Job DSL

          Limor Merom created issue -

          All options are supported by Dynamic DSL:

          job('example') {
            publishers {
              jacoco {
                deltaLineCoverage('50')
              }
            }
          }
          

          Daniel Spilker added a comment - All options are supported by Dynamic DSL : job( 'example' ) { publishers { jacoco { deltaLineCoverage( '50' ) } } }
          Daniel Spilker made changes -
          Assignee Original: Ognjen Bubalo [ ognjenb ] New: Daniel Spilker [ daspilker ]
          Resolution New: Not A Defect [ 7 ]
          Status Original: Open [ 1 ] New: Fixed but Unreleased [ 10203 ]
          Daniel Spilker made changes -
          Status Original: Fixed but Unreleased [ 10203 ] New: Closed [ 6 ]

            daspilker Daniel Spilker
            limorme Limor Merom
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: