'copy artifacts from gitlab runners to windows shared drive
Am new to gitlab runners. I need help with pipeline script to copy the artifact produced by gitlab pipeline( which runs on a linux runner and windows) to a windows share. Any help is appreciated.
The pipeline script is a gitlab-ci.yml file which in turn calls a .sh script.
Thanks
Solution 1:[1]
You can use samba and cifs-utils to mount the windows share on your runner and then use the gitlab-ci apis to download the artifact to those mounted paths.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | Kaish kugashia |