Gradle

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What’s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
To raise new issues or bugs against Gradle, please use forums.gradle.org.
  • Gradle
  • GRADLE-1369

Provide hook to be called after all tasks have been executed but before buildFinished hook is called

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: New Feature New Feature
  • Status: Open Open
  • Resolution: Unresolved
  • Affects Version/s: 0.9.2
  • Fix Version/s: None

Description

What I am missing (or at least I have not been able to find) is a hook
that gets called after all tasks have been executed but before the build
is finished.

The hook 'buildFinished' is called after the command line says 'BUILD
SUCCESSFUL'. What I would like to have is a hook right after all tasks
have been executed so I can still decide whether the build has been
successful or not (depending on the outcome beyond one task). For
example, maybe I want to make the build fail if the project took more
than 10s to execute, or maybe I want to fail the build if more than 1000
tests have been run (across multiple test tasks), etc.

Activity

  • All
  • Comments
  • History
  • Activity
  • TeamCity
  • Commits
  • Source
  • Reviews
There are no comments yet on this issue.

People

  • Assignee:
    Unassigned
    Reporter:
    Etienne Studer
Vote (0)
Watch (1)

Dates

  • Created:
    04/Feb/11 7:07 AM
    Updated:
    04/Feb/11 7:07 AM
  • Atlassian JIRA (v5.0.3#729-sha1:bf569e4)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Gradle. Try JIRA - bug tracking software for your team.