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
8c21ecc6
Commit
8c21ecc6
authored
Jan 12, 2021
by
Zach Rice
Committed by
Nick Gaskill
Jan 12, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add unmappable character error solution in troubleshooting
parent
f66c19ab
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
0 deletions
+22
-0
doc/user/application_security/sast/index.md
doc/user/application_security/sast/index.md
+22
-0
No files found.
doc/user/application_security/sast/index.md
View file @
8c21ecc6
...
...
@@ -727,3 +727,25 @@ against the given glob pattern. If the number of matches exceeds the maximum, th
parameter returns
`true`
. Depending on the number of files in your repository, a SAST job might be
triggered even if the scanner doesn't support your project. For more details about this issue, see
the
[
`rules:exists` documentation
](
../../../ci/yaml/README.md#rulesexists
)
.
### SpotBugs UTF-8 unmappable character errors
These errors occur when UTF-8 encoding isn't enabled on a SpotBugs build and there are UTF-8
characters in the source code. To fix this error, enable UTF-8 for your project's build tool.
For Gradle builds, add the following to your
`build.gradle`
file:
```
gradle
compileJava
.
options
.
encoding
=
'UTF-8'
tasks
.
withType
(
JavaCompile
)
{
options
.
encoding
=
'UTF-8'
}
```
For Maven builds, add the following to your
`pom.xml`
file:
```
xml
<properties>
<project.build.sourceEncoding>
UTF-8
</project.build.sourceEncoding>
</properties>
```
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