I have a simple question. I want to run a bat file that should run post build. The bat file goes to the previousVersion and currentVersion parameters (These parameters are entered as Checking string parameters before the build starts).
Here is what I tried Executing the Windows Command Prompt
set v = %currentVersion% set pv = %previousVersion% cmd \k "C:\jenkins\workspace\mybatfile.bat %pv% %p%"
The error I get is that cmd is not recognized as an internal or external command running in the program or exiting the batch file 9009
source share