Extend artifact use , not only for build folder
Hello gitlab team.
Concider the folowing .gitlab-ci.yml
file
stages:
- build
- test
compile:
stage:build
script:
- stuff_compiled
test_1:
stage: test
script:
- do_something_1
artifacts:
when: on_failure
name: "$CI_COMMIT_REF_NAME"
paths:
- /root/dir
When test_1 is executed , it creates a folder dir
inside root. I want to add it to artifacts but , I get an error saying: no matching files
. This is caused because the folder is not a part of the project , as is created during the execution of a job.
Proposal
During the execution some of us create a log file , to monitor what is happening (if for example we run simulations). It would be really usefull if we could extract that file without caching everything. So I would propose the use/extention of artifacts to be able to work outside /build
folder.
/label ~"feature proposal"