If you just want to remove the junction points between triggering a build 
and the checkout from SCM, 
You can use the pre-scm-buildstep plugin[1] which allows you to run most 
build steps at this point, including windows batch scripts.


You could also use the post-build step, which should always run regardless 
of the result of the build,
for more freedom at this point consider using the flexible publish plugin 
(use the always condition) and anybuildstep plugins to allow buildsteps to 
be run at this point.

[1] https://wiki.jenkins-ci.org/display/JENKINS/pre-scm-buildstep
[2] https://wiki.jenkins-ci.org/display/JENKINS/Post+build+task
[3] https://wiki.jenkins-ci.org/display/JENKINS/Flexible+Publish+Plugin
[4] https://wiki.jenkins-ci.org/display/JENKINS/Any+Build+Step+Plugin

Chris

Reply via email to