This plugin allows build step to run before SCM checkouts so that you perform any build step action on the the workspace, (cleanup, add a file with some settings for the SCM, etc) or call other scripts that need to be run before checking out from the SCM.
This plugin was written to provide a build step point where a perl script can be run after detecting changes in the polling but before the SCM does the checkout. To make it more usable and flexible it was decided to allow any number of build steps to be added and called.
- The SCM may modify or remove any files that are in the workspace, before the main build steps.
- Enviroment variables may not exist at this point, if they are created by other plugins, check using a shell script and the env (unix) or equivalent for your executor system.
- IMPORTANT: Failed build steps will not cause the job to fail at this point, and all build steps will be called regardless of the result.
- Fixed Issue JENKINS-12770
- First release