Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9244995
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T09:09:55+00:00 2026-06-18T09:09:55+00:00

Gradle 1.4 has new test report aggregate task: http://www.gradle.org/docs/current/release-notes#stand-alone-test-report-task task testReport(type: TestReport) { destinationDir

  • 0

Gradle 1.4 has new test report aggregate task:
http://www.gradle.org/docs/current/release-notes#stand-alone-test-report-task

task testReport(type: TestReport) {
    destinationDir = file("$buildDir/reports/all-tests")
    reportOn subprojects*.test
}

Is there a way to make this task run even when build fails? Currently if I do:

taskReport.dependsOn test
build.dependsOn taskReport

it executes only if build is success.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T09:09:56+00:00Added an answer on June 18, 2026 at 9:09 am

    Good news first: Upcoming enhancements to Gradle’s task model, currently scheduled for Gradle 1.6, will address this and similar use cases.

    Meanwhile, the possibilities are limited. One option is to run with --continue, although this will continue with other tasks as well. Another potential option is to register a org.gradle.api.execution.TaskExecutionListener (via gradle.project.addListener()) and have it call testReport.generateReport() after a Test task has failed. Although calling a task directly is heavily discouraged (and often won’t produce the expected behavior), it might do as a temporary workaround in this particular case.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am new to Gradle, and I am trying to use my very-own-and-beauty doclet
I'm new to gradle. I can see something like project.getPlugins() . what does this
This is my gradle build script. apply plugin: 'groovy' project.group = test.tree archivesBaseName =
I'm new to Gradle and I'm trying to configure it to build rosjava. I
I have a gradle project that has java applications as well as android applications.
anyone has past experience with gradle? i'm thinking of using it for continuous deployment...
I am using Gradle to access the Artifactory. Artifactory has the particular dependencies but
I have two tables: a 'userlist' that has a 'grade' and 'userID' columns, and
Gradle is giving me fits. I have a build.gravle that includes the java plug-in
I tried following the gradle manual with their example like this but copyJars is

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.