I am trying to execute a simple .cmd file in a Local Windows installation.
contents of C:/local/rundeckscripts/remotecopy.cmd as follows:
echo "Testing script with "
echo "Completed testing"
resource definition:
____
Project definition ( I think I am not using the options below since the job script is defined explicitly ? )
____
#Project Project1 configuration, generated
#Fri Jun 15 16:21:00 EDT 2012
project.ssh-keypath=C\:\\Users\\l002600\\.ssh\\id_rsa
service.NodeExecutor.default.provider=stub
plugin.script-exec.default.command=c\:\\Program Files (x86)\\PuTTY\\putty -session rdeck1
project.name=Project1
plugin.script-copy.default.command=c\:\\Program Files (x86)\\PuTTY\\pscp -load rdeck1 readme.txt l002600@fastdnvl0378.testdomain.net
plugin.script-copy.default.remote-filepath=/home/l002600/scripts
project.resources.file=C\:\\local\\rundeck\\projects\\Project1\\etc\\resources.xml
service.FileCopier.default.provider=stub
Job definition:
______________
-
4f99aa07-5811-403f-8e26-3228dc981188
DEBUG
-
-
/local/rundeckscripts/remotecopy.cmd
JobDesc11
Job1
-
Project1
-
1
false
true
ascending
4f99aa07-5811-403f-8e26-3228dc981188
-
-
tag1
I am not getting the command line output and the job runs for ever. Are Windows command lines supported. Also does backward forward slash , drive letter etc matter ?
I am stuck with this for a day, would appreciate any help.
Please also let me know where the job definition is stored.
Thanks,
deepsa52