Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: Write a YAML file inside GITLAB to call batch file  (Read 27461 times)

0 Members and 1 Guest are viewing this topic.

Santosh

    Topic Starter


    Rookie

    • Experience: Beginner
    • OS: Windows 10
    Write a YAML file inside GITLAB to call batch file
    « on: April 21, 2020, 03:28:57 AM »
    I want to call it from YAML file inside GITLAB

    I have tried like this, .gitlab-ci.yml YAML file:

    Code: [Select]
    Windows:
      script:
        - call: ci\CheckStatus.bat init
        - call: ci\CheckStatus.bat build
      tags:
        - windows

    But it is giving me error as :
    Found errors in your .gitlab-ci.yml:
    jobs:windows:script config should be a string or an array containing strings and arrays of strings

    Santosh

      Topic Starter


      Rookie

      • Experience: Beginner
      • OS: Windows 10
      Re: Write a YAML file inside GITLAB to call batch file
      « Reply #1 on: April 21, 2020, 11:00:36 PM »
      Your quick response will be appreciated.