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

Cannot set JaCoCo deltaLineCoverage while using Job DSL

    Details

    • Similar Issues:

      Description

      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.

       

        Attachments

          Activity

          Hide
          daspilker Daniel Spilker added a comment -

          All options are supported by Dynamic DSL:

          job('example') {
            publishers {
              jacoco {
                deltaLineCoverage('50')
              }
            }
          }
          
          Show
          daspilker Daniel Spilker added a comment - All options are supported by Dynamic DSL : job( 'example' ) { publishers { jacoco { deltaLineCoverage( '50' ) } } }

            People

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

              Dates

              • Created:
                Updated:
                Resolved: