Deployer - Sample script automate

Hi,

I have seen an example script written in the “10-7_Deployer_Users_Guide” guide.
It seems something is missing, I put here the script section :

%port% -user %user% -pwd %pwd%
@echo off
echo.
echo.
echo.
set nextAction=buildit
GOTO verifyStatus
:importMap
set importM=%project%_%depMap%.map
IF “%ERRORLEVEL%” == “8” GOTO FINISH

There is a nextAction=buildit but in the script there isn’t the “buildit” section.

Is it correct or the script is to be completed in some way?

Thanks a lot
Alessio

Hi Alessio,

I think the line “set nextAction=buildit” should be change to “set nextAction=importMap”.

As per the example in the “10-7_Deployer_Users_Guide” guide [page number 243]:

  1. First it is importing build from importBuild action
  2. describeBuild, Listing the builds for a project
  3. importMap, Importing a Deployment Map Into a Project
  4. importVarSub, Import Variable Substitution into a map.

Thanks,
Ranjith