Artifacts
Artifacts in GitLab CI/CD
6.1. What are Artifacts?
Artifacts in GitLab CI/CD are files generated by jobs and stored for later use. They are typically used to store build outputs, test reports, or other intermediate files necessary for subsequent stages in the pipeline or for debugging purposes. Artifacts can be defined in the .gitlab-ci.yml file and can be made available for download or passed between different jobs and stages within the pipeline, ensuring smooth continuity and access to essential files across the CI/CD process.
Example with Data Analysis Project:
In our Data Analysis project, we can take advantage of th artifactsfeature to store the generated visulizations. These visulization can be stored in the artifacts and later retrieved for further analysis or sharing with other team members.
Let’s explore how to define and use artifacts in GitLab CI/CD pipelines.