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

Coverage 4.0 renames status.dat to status.json

      The coverage publisher in the ShiningPanda plugin tries to determine if coverage has run with a few files in the output directory. Among them is status.dat. However, starting from version 4, coverage will generate its status file as status.json, which causes the coverage publisher to generate a warning about not finding the coverage output directory and fail the build.

      Even though coverage 4.0a5 is still an alpha, this might not be the case for long.

          [JENKINS-28428] Coverage 4.0 renames status.dat to status.json

          Ralph Meijer created issue -

          Hit the same issue

          Ilia Meerovich added a comment - Hit the same issue

          Code changed in jenkins
          User: Olivier Mansion
          Path:
          .gitignore
          src/main/java/jenkins/plugins/shiningpanda/actions/coverage/CoverageAction.java
          src/main/java/jenkins/plugins/shiningpanda/publishers/CoveragePublisher.java
          http://jenkins-ci.org/commit/shiningpanda-plugin/c62f50233e562baeab7c14962473217bedf71dcf
          Log:
          JENKINS-28428: Coverage 4.0 renames status.dat to status.json

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Olivier Mansion Path: .gitignore src/main/java/jenkins/plugins/shiningpanda/actions/coverage/CoverageAction.java src/main/java/jenkins/plugins/shiningpanda/publishers/CoveragePublisher.java http://jenkins-ci.org/commit/shiningpanda-plugin/c62f50233e562baeab7c14962473217bedf71dcf Log: JENKINS-28428 : Coverage 4.0 renames status.dat to status.json
          Olivier Mansion made changes -
          Assignee New: Olivier Mansion [ mansion ]
          Olivier Mansion made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]

          just release the 0.22 that checks both status.json and status.dat

          Olivier Mansion added a comment - just release the 0.22 that checks both status.json and status.dat
          Olivier Mansion made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: In Progress [ 3 ] New: Resolved [ 5 ]
          Olivier Mansion made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]

          an now thanks Ned, coverage 4 also touch status.dat if it detects the JENKINS_URL environment variable to ensure backward compatibility

          see https://bitbucket.org/ned/coveragepy/issues/404/shiningpanda-jenkins-plugin-cant-find-html

          Olivier Mansion added a comment - an now thanks Ned, coverage 4 also touch status.dat if it detects the JENKINS_URL environment variable to ensure backward compatibility see https://bitbucket.org/ned/coveragepy/issues/404/shiningpanda-jenkins-plugin-cant-find-html
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 163268 ] New: JNJira + In-Review [ 208782 ]

            mansion Olivier Mansion
            ralphm Ralph Meijer
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: