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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
9eb73b18
Commit
9eb73b18
authored
Feb 16, 2022
by
Manuel Grabowski
Committed by
Marcel Amirault
Feb 16, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add troubleshooting for protected jobs as admin
parent
8c785b6e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
0 deletions
+16
-0
doc/ci/jobs/job_control.md
doc/ci/jobs/job_control.md
+16
-0
No files found.
doc/ci/jobs/job_control.md
View file @
9eb73b18
...
@@ -950,3 +950,19 @@ and can cause unexpected behavior, including:
...
@@ -950,3 +950,19 @@ and can cause unexpected behavior, including:
Additionally, rules with
`changes`
always evaluate as true in
[
scheduled pipelines
](
../pipelines/schedules.md
)
.
Additionally, rules with
`changes`
always evaluate as true in
[
scheduled pipelines
](
../pipelines/schedules.md
)
.
All files are considered to have changed when a scheduled pipeline runs, so jobs
All files are considered to have changed when a scheduled pipeline runs, so jobs
might always be added to scheduled pipelines that use
`changes`
.
might always be added to scheduled pipelines that use
`changes`
.
### `You are not allowed to download code from this project.` error message
You might see pipelines fail when a GitLab administrator runs a protected manual job
in a private project.
CI/CD jobs usually clone the project when the job starts, and this uses
[
the permissions
](
../../user/permissions.md#job-permissions
)
of the user that runs the job. All users, including administrators, must be direct members
of a private project to clone the source of that project.
[
An issue exists
](
https://gitlab.com/gitlab-org/gitlab/-/issues/23130
)
to change this behavior.
To run protected manual jobs:
-
Add the administrator as a direct member of the private project (any role)
-
[
Impersonate a user
](
../../user/admin_area/index.md#user-impersonation
)
who is a
direct member of the project.
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