Skip to content

GitLab Next

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
gitlab-runner
gitlab-runner
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 1,984
    • Issues 1,984
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
    • Iterations
  • Merge Requests 214
    • Merge Requests 214
  • Requirements
    • Requirements
    • List
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Security & Compliance
    • Security & Compliance
    • Dependency List
    • License Compliance
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Code Review
    • Insights
    • Issue
    • Repository
    • Value Stream
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • GitLab.org
  • gitlab-runnergitlab-runner
  • Issues
  • #1515

Closed
Open
Opened Jul 25, 2016 by Jürgen Steinblock@j-steinblock

Windows shell executor (bash) fails with 1.4.0: "GIT_SSL_CAINFO: No such file or directory"

I updated from gitlab-runner 1.3.0 to 1.4.0 and now my builds fail with the following message

Running with gitlab-ci-multi-runner 1.4.0 (5dd9b2f)
Using Shell executor...
Running on BUILD1...
bash: line 51: /e/Multi-Runner/E:/Multi-Runner/builds/483a0fb2/0/my-namespace/my-project.tmp/GIT_SSL_CAINFO: No such file or directory
ERROR: Build failed: exit status 1

The file E:/Multi-Runner/builds/483a0fb2/0/my-namespace/my-project.tmp/GIT_SSL_CAINFO exists. Since I am using shell executor with bash on windows. The path to the file should be:

  • /e/Multi-Runner/builds/483a0fb2/0/my-namespace/my-project.tmp/GIT_SSL_CAINFO and not
  • /e/Multi-Runner/E:/Multi-Runner/builds/483a0fb2/0/my-namespace/my-project.tmp/GIT_SSL_CAINFO

This is my config.toml

concurrent = 3

[[runners]]
  name = "BUILD1"
  url = "https://git.domain.tld/ci"
  token = "..."
  tls-ca-file = ""
  executor = "shell"
  shell = "bash"
  [runners.ssh]
  [runners.docker]
    image = ""
    privileged = false
  [runners.parallels]
    base_name = ""
  [runners.virtualbox]
    base_name = ""

After downgrade to gitlab-runner 1.3.0 the builds succed again.

Edited Sep 02, 2020 by 🤖 GitLab Bot 🤖
Assignee
Assign to
Backlog
Milestone
Backlog
Assign milestone
Time tracking
None
Due date
None
Reference: gitlab-org/gitlab-runner#1515