Computer Hope

Software => Computer programming => Topic started by: Santosh on April 21, 2020, 03:28:57 AM

Title: Write a YAML file inside GITLAB to call batch file
Post by: Santosh 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
Title: Re: Write a YAML file inside GITLAB to call batch file
Post by: Santosh on April 21, 2020, 11:00:36 PM
Your quick response will be appreciated.