Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
Application web
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Agroclim
AgroMetInfo
Application web
Commits
9808cbfd
Commit
9808cbfd
authored
2 weeks ago
by
Olivier Maury
Browse files
Options
Downloads
Patches
Plain Diff
build(ci): utiliser les cibles check pour les vérifications Checkstyle, PMD et CPD
parent
cd740454
Branches
621-utiliser-des-identifiants-symboliques-plutot-que-numeriques-dans-les-fichiers
No related tags found
1 merge request
!160
utiliser les cibles check pour les vérifications Checkstyle, PMD et CPD
Pipeline
#299779
passed
2 weeks ago
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+8
-3
8 additions, 3 deletions
.gitlab-ci.yml
with
8 additions
and
3 deletions
.gitlab-ci.yml
+
8
−
3
View file @
9808cbfd
...
...
@@ -88,21 +88,26 @@ checkstyle_job:
extends
:
.settingsxml
needs
:
[
"
install_job"
]
script
:
-
mvn $MAVEN_CLI_OPTS checkstyle:check
style
-
mvn $MAVEN_CLI_OPTS checkstyle:check
pmd_job
:
stage
:
code-check
extends
:
.settingsxml
needs
:
[
"
install_job"
]
script
:
-
mvn $MAVEN_CLI_OPTS pmd:pmd
-
mvn $MAVEN_CLI_OPTS pmd:check
artifacts
:
expire_in
:
1 week
when
:
on_failure
paths
:
-
"
*/target/pmd.xml"
cpd_job
:
stage
:
code-check
extends
:
.settingsxml
needs
:
[
"
install_job"
]
script
:
-
mvn $MAVEN_CLI_OPTS pmd:cpd
-
mvn $MAVEN_CLI_OPTS pmd:cpd
-check
cobertura_job
:
stage
:
deploy
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment