-
New Feature
-
Resolution: Unresolved
-
Minor
-
None
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.
- relates to
-
JENKINS-45415 Global script running before any job execution
-
- Open
-
[JENKINS-47108] Automatically execute global library step before every pipeline run
Link | New: This issue relates to JENKINS-45415 [ JENKINS-45415 ] |
Description |
Original:
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. This is different than JENKINS-45415 because it could show up in user pipeline visualizations as an actual pipeline stage. |
New:
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. |
Issue Type | Original: Improvement [ 4 ] | New: New Feature [ 2 ] |