Release Automation

 View Only
  • 1.  How to call windows ( deploy.bat) file from CARA.

    Posted Apr 06, 2018 06:44 AM

    I have written (deploy.bat ) file in my windows machine. Locally thorugh command prompt i tested it is working.


    But now I planned to call this deploy.bat file from CA Release automation.

    Please let me know which action I need to use it to call my deploy.bat file.


    How to call .bat file from CA Relese automation.


    Thanks in Advance.

  • 2.  Re: How to call windows ( deploy.bat) file from CARA.
    Best Answer

    Broadcom Employee
    Posted Apr 08, 2018 10:00 PM

    Hi Pradeep,


    You can call batch file using "Run Command Line" action type.

    Set batch file with full path to [Command Line String] at least.

    Or, you can set batch filename to [Command Line String] and folder placed the batch to [Work Directory].


    The batch file will run by user account who run [Nolio Agent] service. Default is local system account in Windows environment case. 

    If you face permission problem, please try to set proper credential to run the batch in [Settings] tab of action defenition.



    Additionally, please check following document and configure.

    Set Up Users and Permission - CA Release Automation - 6.5 - CA Technologies Documentation 

    - Assign User Rights for "Run as User" Option on Windows




  • 3.  Re: How to call windows ( deploy.bat) file from CARA.

    Broadcom Employee
    Posted Apr 12, 2018 09:28 PM

    Hi Pradeep ( pradeepruban.t)


    I believe your question has been answered, I will mark it as the correct answer.

    When your question is not answered or you still have additional questions, please let us know.