Skip to content

Tool not working (due to whitespace in user dir?) #1887

Description

@MarvinKlar

Minimal .gitlab-ci.yml illustrating the issue

---
job:
  script:
    - echo "Heya"

Host information
Windows 11
gitlab-ci-local latest

When I run gitlab-ci-local --list I get:
Component include could not be fetched { project: arc/ci-cd-components/xxxxxxxx, ref: 1.3.0, file: templates/xxxxx.yml,templates/xxxxx/template.yml }
Error: Command failed with exit code 1: cd C:\Users\My Name\IdeaProjects\xxxxx/.gitlab-ci-local && \git clone --branch 1.3.0 -n --depth=1 --filter=tree:0 ..........
bash: line 1: cd: too many arguments`

I assume that the path C:\Users\My Name\IdeaProjects\xxxxx/.gitlab-ci-local should be quoted, cause "My Name" contains a whitespace.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions