Download Artifacts Using Windows Runner

We are using the official Windows runner from Gitlab-ci. We want to load artifacts.

We use the 'artifact' keyword in our yaml file to identify artifacts that need to be downloaded. When we capture this message, we get:

gitlab-ci-multi-runner 0.7.2 (998cf5d)
WARNING: artifacts is not supported by selected executor and shell
Using Shell executor...

So, is it because it uses a Windows computer? What is the deal?

+4
source share
1 answer

cmd powershell . , , gitlab-ci-multi-runner\shells\bash.go bash .

:

  • Bash ( Git -SCM)
  • Bash (C:\Program Files (x86)\Git\bin) PATH
  • , Bash , bash cmd
  • config.toml /:

    executor = "shell"  
    shell = "bash" 
    
  • Git -runner

  • , bash -syntax
    (, Windows Bash cmd.exe /c "dir")
+3

Source: https://habr.com/ru/post/1618310/


All Articles