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

Gradle CI builds fail when no test tasks are run

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major Major
    • gradle-plugin
    • None
    • Linux

      We have a gradle build with multiple subprojects.
      Gradle can check what has been build previously and will not build again if nothing changed.

      Now when changing a minor thing in the tree (like a properties file) the build will start to run, notices everyting is up to date and will not start compiling/testing/jar-ing

      But at the end of the build Jenkins says: Test reports were found but none of them are new. Did tests run?
      My answer is: no, because there was no use.

      How do I take care of this issue?

          [JENKINS-9438] Gradle CI builds fail when no test tasks are run

          bjansen created issue -
          Stig Kleppe-Jørgensen made changes -
          Link New: This issue is duplicated by JENKINS-10035 [ JENKINS-10035 ]
          Stig Kleppe-Jørgensen made changes -
          Link Original: This issue is duplicated by JENKINS-10035 [ JENKINS-10035 ]
          Stig Kleppe-Jørgensen made changes -
          Link New: This issue duplicates JENKINS-10035 [ JENKINS-10035 ]
          centic made changes -
          Link New: This issue is related to JENKINS-6268 [ JENKINS-6268 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 139605 ] New: JNJira + In-Review [ 175105 ]
          Stefan Wolf made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Closed [ 6 ]
          Bjorn Frantzen made changes -
          Link New: This issue duplicates JENKINS-47315 [ JENKINS-47315 ]
          Bjorn Frantzen made changes -
          Link Original: This issue duplicates JENKINS-47315 [ JENKINS-47315 ]

            gbois Gregory Boissinot
            bjansen bjansen
            Votes:
            5 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: