#581 new
Sankar Venkitachalam

Simple local commandline job hanging in Windows7

Reported by Sankar Venkitachalam | June 15th, 2012 @ 02:02 PM

  • Issue Type: Bug
  • Rundeck version: 1.4.2.1
  • JDK Version: 1.6.x
  • Server OS: Windows 7
    • Install type: Jar (If War, include your app server name and version)

Issue:

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:


<?xml version="1.0" encoding="UTF-8"?>


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

Changing the path immidietely throws an error, so the path does not seem to be the issue. I am not getting the command line output and the job runs for ever. Eventually I have to kill it. Are Windows command lines supported. Also does backward forward slash , drive letter etc matter ? I have attached log file. The dispatcherxxxx.tmp output is follows:

echo "Testing script with "
echo "Completed testing"

I am stuck with this for a day, would appreciate any help.

Please also let me know where the job definition is stored.

Thanks,
Sankar


(For Rundeck GUI issues, please include the following:)

  • Windows 7
  • IE 8

Reproduce: Reproducible.

Sample log file output attached

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

(DEPRECATED) Please use github issues for issue tracking at http://github.com/dtolabs/rundeck/issues

Shared Ticket Bins

People watching this ticket

Attachments

Pages