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

Gradle CI builds fail when no test tasks are run

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • gradle-plugin
    • None
    • Linux

    Description

      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?

      Attachments

        Issue Links

          Activity

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

            People

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

              Dates

                Created:
                Updated:
                Resolved: