Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Won't Fix
-
1.0-RC-1
-
None
-
None
Description
This template:
@echo off
REM --------------------------------------------------------------------
REM Script for invoking dps deployed preinstall scripts on all servers
REM --------------------------------------------------------------------
SET PATH=%PATH%;%PRO_ROOT%
bin
start /w wscript.exe %PRO_ROOT%\\bin
userin.vbs
call ~userin.bat
del %PRO_ROOT%\\bin
~userin.bat
SET USERNAME=%user%
SET PASSWORD=%pass%
plink -pw %PASSWORD% %USERNAME%@${domain.admSrv.servername}.${domain.admSrv.dnsdomainname} "cmd /c
${global.rootdir}\\${env.name}\\${env.domain}\\wld\\current\\${domain.admSrv.instancename}
preinstall.cmd"
<% domain.clusters.each { name, cluster | cluster.servers.each { servername, server | %>
plink -pw %PASSWORD% %USERNAME%@${server.servername}.${server.dnsdomainname} "cmd /c
${global.rootdir}\\${env.name}\\${env.domain}\\wld\\current\\${server.instancename}
preinstall.cmd"
<% } }%>
gets error
org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed, Script1.groovy: 18: unexpected token: , @ line 18, column 43.
1 error
and this is the line <% domain.clusters.each { name, cluster | cluster.servers.each { servername, server | %>
What wrong here? Worked with jsr-6