Z
Z
zlodiak2019-04-03 14:18:19
linux
zlodiak, 2019-04-03 14:18:19

Where are artifacts stored?

I set up CI for a gitlab project. As a result of the work of the jobs in the .gitlab-ci.yml file, a build file is created. But it is not in the repository and I would like to understand where it is located and whether it can be downloaded if necessary. Please help me figure it out.
With this command, I created a conditional build (it is still empty, but suitable for learning purposes):

joke:
  script: touch artifact_test.txt

I am asking such simple things because I am worried about the future situation when there are a lot of these files. In this case, the system will have to delete them, but let's say I need them

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Shitskov, 2019-04-03
@zlodiak

It seems you need to read the documentation https://docs.gitlab.com/ee/ci/yaml/#artifacts
In particular, about how to save an artifact and setting the storage duration.
Whole page incl. To avoid such strange questions.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question