Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-47108

Automatically execute global library step before every pipeline run

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.

            Unassigned Unassigned
            sag47 Sam Gleske
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: