Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
Show Demo
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Perwaiz Ali
Show Demo
Commits
3099fe9f
Commit
3099fe9f
authored
Sep 01, 2022
by
Perwaiz Ali
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.git-ci.yml changes
parent
f4c1b012
Pipeline
#2230
failed with stages
in 2 minutes and 33 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
1 deletion
+24
-1
pmd-ruleset.xml
pmd-ruleset.xml
+23
-0
Controller.java
src/main/java/com/example/cicd/controller/Controller.java
+1
-1
No files found.
pmd-ruleset.xml
0 → 100644
View file @
3099fe9f
<?xml version="1.0"?>
<ruleset
name=
"Custom Rules"
xmlns=
"http://pmd.sourceforge.net/ruleset/2.0.0"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation=
"http://pmd.sourceforge.net/ruleset/2.0.0 https://pmd.sourceforge.io/ruleset_2_0_0.xsd"
>
<description>
My custom rules
</description>
<rule
ref=
"category/java/errorprone.xml/BeanMembersShouldSerialize"
>
<properties>
<property
name=
"ignoredAnnotations"
value=
"Autowired|GetMapping|Mock|InjectMocks"
/>
<property
name=
"prefix"
value=
""
/>
</properties>
</rule>
<rule
ref=
"category/java/bestpractices.xml/SystemPrintln"
/>
</ruleset>
\ No newline at end of file
src/main/java/com/example/cicd/controller/Controller.java
View file @
3099fe9f
...
...
@@ -13,7 +13,7 @@ public class Controller {
@RequestMapping
(
"/test"
)
public
String
test
()
{
System
.
out
.
println
(
"hello "
);
return
"Demno "
;
}
...
...
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