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
33da820c
Commit
33da820c
authored
Sep 02, 2019
by
GitLab Bot
Browse files
Options
Browse Files
Download
Plain Diff
Automatic merge of gitlab-org/gitlab-ce master
parents
0d246dd8
1a060f7d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
0 deletions
+15
-0
doc/user/application_security/sast/index.md
doc/user/application_security/sast/index.md
+15
-0
No files found.
doc/user/application_security/sast/index.md
View file @
33da820c
...
...
@@ -125,6 +125,21 @@ variables:
Because the template is
[
evaluated before
](
../../../ci/yaml/README.md#include
)
the pipeline configuration, the last mention of the variable will take precedence.
#### Using a variable to pass username and password to a private Maven repository
If you have a private Apache Maven repository that requires login credentials,
you can use the
`MAVEN_CLI_OPTS`
[
environment variable
](
#available-variables
)
to pass a username and password. You can set it under your project's settings
so that your credentials aren't exposed in
`.gitlab-ci.yml`
.
If the username is
`myuser`
and the password is
`verysecret`
then you would
set the following
[
variable
](
../../../ci/variables/README.md#via-the-ui
)
under your project's settings:
| Type | Key | Value |
| ---- | --- | ----- |
| Variable |
`MAVEN_CLI_OPTS`
|
`-Drepository.password=verysecret -Drepository.user=myuser`
|
### Overriding the SAST template
If you want to override the job definition (for example, change properties like
...
...
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