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

Coverage 4.0 renames status.dat to status.json

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      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.

        Attachments

          Activity

          Hide
          iliam Ilia Meerovich added a comment -

          Hit the same issue

          Show
          iliam Ilia Meerovich added a comment - Hit the same issue
          Hide
          scm_issue_link 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

          Show
          scm_issue_link 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
          Hide
          mansion Olivier Mansion added a comment -

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

          Show
          mansion Olivier Mansion added a comment - just release the 0.22 that checks both status.json and status.dat
          Hide
          mansion 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

          Show
          mansion 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

            People

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

              Dates

              Created:
              Updated:
              Resolved: