diff --git a/doc/ci/jobs/job_artifacts.md b/doc/ci/jobs/job_artifacts.md index ecd52d72fe55fdffd6b19a39310febe1c51d302b..42640f24cea99d32041f3049123c12078ddb73ec 100644 --- a/doc/ci/jobs/job_artifacts.md +++ b/doc/ci/jobs/job_artifacts.md @@ -13,6 +13,19 @@ title: Job artifacts {{< /details >}} Jobs can output an archive of files and directories. This output is known as a job artifact. +Artifacts can include build output or report files. By default, later jobs fetch a copy of +all artifacts from jobs in earlier stages. + +For example, an early job can build a project and save the output as an artifact. +Then a later job fetches the artifact and runs tests on the saved build output. + +For a full list of supported configuration for the `artifacts` keyword, +see the [GitLab CI/CD YAML syntax reference](../yaml/_index.md#artifacts). + +Related topics: + +- [Job artifacts API](../../api/job_artifacts.md) +- [Job artifacts administration](../../administration/cicd/job_artifacts.md) ## Create job artifacts @@ -403,9 +416,3 @@ You can disable this behavior for all projects on GitLab Self-Managed with the You can disable this behavior for all projects on GitLab Self-Managed in the [instance's CI/CD settings](../../administration/settings/continuous_integration.md#keep-artifacts-from-latest-successful-pipelines). - -## Related topics - -- [GitLab CI/CD YAML syntax reference](../yaml/_index.md) -- [Job artifacts API](../../api/job_artifacts.md) -- [Job artifacts administration](../../administration/cicd/job_artifacts.md)