webMethods

 View Only
Expand all | Collapse all

Deployer - Sample script automate

  • 1.  Deployer - Sample script automate

    Posted Tue June 22, 2021 10:47 AM

    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


    #webMethods
    #AgileApps
    #script
    #Deployer


  • 2.  RE: Deployer - Sample script automate

    Posted Fri June 25, 2021 01:22 AM

    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


    #webMethods
    #AgileApps
    #Deployer
    #script