Skip to content

A config option to store hook output into a file #499

@alex-hutton

Description

@alex-hutton

Hi, this is a feature request and if people would like it then I will submit a pull request.

What I would like is to be able to specify in the config an output file on a per hook basis. When the hook is run, it will output to that file (as well as to STDOUT as currently).

The reason I want this is because I want to run pre-commit on Jenkins and I want the reports of certain tools to be stored in files so that they can be easily consumed by Jenkins.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions