Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
1e99e562
Commit
1e99e562
authored
Apr 10, 2016
by
Benjamin Montgomery
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make the purpose of artifact config options clearer
parent
ca823065
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
9 deletions
+6
-9
doc/ci/build_artifacts/README.md
doc/ci/build_artifacts/README.md
+6
-9
No files found.
doc/ci/build_artifacts/README.md
View file @
1e99e562
# Introduction to build artifacts
# Introduction to build artifacts
Artifacts is a list of files and directories which are attached to a build
Artifacts is a list of files and directories which are attached to a build
after it completes successfully.
after it completes successfully. Artificats is enabled by default. _If you are searching for ways to use artifacts, jump to
[
Defining artifacts in `.gitlab-ci.yml`
](
#defining-artifacts-in-gitlab-ciyml
)
._
Since GitLab 8.2 and [GitLab Runner] 0.7.0, build artifacts that are created by
Since GitLab 8.2 and [GitLab Runner] 0.7.0, build artifacts that are created by
GitLab Runner are uploaded to GitLab and are downloadable as a single archive
GitLab Runner are uploaded to GitLab and are downloadable as a single archive
...
@@ -16,13 +17,9 @@ The artifacts browser will be available only for new artifacts that are sent
...
@@ -16,13 +17,9 @@ The artifacts browser will be available only for new artifacts that are sent
to GitLab using GitLab Runner version 1.0 and up. It will not be possible to
to GitLab using GitLab Runner version 1.0 and up. It will not be possible to
browse old artifacts already uploaded to GitLab.
browse old artifacts already uploaded to GitLab.
## Enabling build artifacts
## Disabling build artifacts
_If you are searching for ways to use artifacts, jump to
[
Defining artifacts in `.gitlab-ci.yml`
](
#defining-artifacts-in-gitlab-ciyml
)
._
The artifacts feature is enabled by default in all GitLab installations.
To disable artifacts site-wide, follow the steps below.
To disable it site-wide, follow the steps below.
---
---
...
@@ -31,7 +28,7 @@ To disable it site-wide, follow the steps below.
...
@@ -31,7 +28,7 @@ To disable it site-wide, follow the steps below.
1.
Edit
`/etc/gitlab/gitlab.rb`
and add the following line:
1.
Edit
`/etc/gitlab/gitlab.rb`
and add the following line:
```ruby
```ruby
gitlab_rails['artifacts_enabled'] =
tru
e
gitlab_rails['artifacts_enabled'] =
fals
e
```
```
1.
Save the file and
[
reconfigure GitLab
][]
for the changes to take effect.
1.
Save the file and
[
reconfigure GitLab
][]
for the changes to take effect.
...
@@ -44,7 +41,7 @@ To disable it site-wide, follow the steps below.
...
@@ -44,7 +41,7 @@ To disable it site-wide, follow the steps below.
```yaml
```yaml
artifacts:
artifacts:
enabled:
tru
e
enabled:
fals
e
```
```
1.
Save the file and
[
restart GitLab
][]
for the changes to take effect.
1.
Save the file and
[
restart GitLab
][]
for the changes to take effect.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment