You must add the Any Build Step plugin which lets you run any Build step as a Post build step.
* Use publishers as a Build Step (via the Conditional BuildStep Plugin<https://wiki.jenkins-ci.org/display/JENKINS/Conditional+BuildStep+Plugin>) * Use builders during the Post-build Actions (via the Flexible Publish Plugin<https://wiki.jenkins-ci.org/display/JENKINS/Flexible+Publish+Plugin>) * Adds a global configuration option for the Flexible Publish and Conditional BuildStep Plugins to enable all build steps to be made available to them. From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Gilad Baruchian Sent: Thursday, June 04, 2015 10:09 AM To: jenkinsci-users@googlegroups.com Subject: Post build command line Hi, I want to run a ".bat" file in post build. What is the easiest way to do it? -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com<mailto:jenkinsci-users+unsubscr...@googlegroups.com>. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/e87aa7fe-276a-4d08-8277-ef3168cd0e3b%40googlegroups.com<https://groups.google.com/d/msgid/jenkinsci-users/e87aa7fe-276a-4d08-8277-ef3168cd0e3b%40googlegroups.com?utm_medium=email&utm_source=footer>. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/6C6EE445A6F6CE4E8A0FFB51B071A4E2D85B8E63%40AMERMBX02.PERKINELMER.NET. For more options, visit https://groups.google.com/d/optout.