Thanks- this might work for yank files but I can’t see how it would work for pipeline jobs that have embedded yaml. This yaml gets edited just before the use clicks the BUILD button. Essentially, I need to call the yaml sanitizer just after BUILD is clicked, but before Jenkins parses it.
On Sat, Oct 12, 2019 at 11:29 AM Ivan Fernandez Calvo < kuisathave...@gmail.com> wrote: > We use pre-commit on a stage, pre-commit has a bunch of linters, syntax > check, YAML linter, JSON linter, best practices check on code and scripts, > .... https://pre-commit.com/ also you can configure it to run locally as > a git hook to check your project before commit something > > -- > You received this message because you are subscribed to a topic in the > Google Groups "Jenkins Users" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/jenkinsci-users/uFsC3geutC0/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > jenkinsci-users+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-users/2a832ccd-303c-448b-b83a-cc15a7c26603%40googlegroups.com > . > -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CABRXM4kDLEZNte_HyXYsapsjCgYRt8vBwXw-UvPtrS3mHwZbNA%40mail.gmail.com.