For loop fails in .giltlab-ci.yaml with "bash: eval: line 85: syntax error: unexpected end of file ERROR: Job failed: exit status 2"

You need to use - on every line of the script, or use | to have the whole script in a block:

  script:
    - |+
      line1
      line2
      line…

The other thing is the use of $(Recipes). Are you sure you want to capture the output of a subshell here, or did you mean ${Recipes}?

2 Likes