Automatically execute global library step before every pipeline run

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      I would like to run some security/sanitation checks before every pipeline that gets run.  It would do things like:

      • Check for certain files existing in the repository.
      • Check the contents of some files to validate certain conditions are met with those contents.

      The above could be accomplished (as well as arbitrarily many other things) if a library is able to define a default step to run from the global pipeline library before every pipeline run for all projects and branches.

      This is different than JENKINS-45415 because it could show up in user pipeline visualizations as an actual pipeline stage.

            Assignee:
            Unassigned
            Reporter:
            Sam Gleske
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Archived: