Mentions légales du service
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
Gazelle Objects Checker
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Gazelle
Library
Gazelle Objects Checker
Commits
e9b7bfcf
Commit
e9b7bfcf
authored
2 years ago
by
Achraf Achkari
Browse files
Options
Downloads
Patches
Plain Diff
update gitlab-ci
parent
cc06e9e8
No related branches found
No related tags found
2 merge requests
!44
Develop
,
!43
Feature/cdapesos4 update
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+18
-32
18 additions, 32 deletions
.gitlab-ci.yml
with
18 additions
and
32 deletions
.gitlab-ci.yml
+
18
−
32
View file @
e9b7bfcf
...
...
@@ -2,7 +2,7 @@
include
:
-
project
:
'
gazelle/private/gitlab-ci-templates'
file
:
'
extends-v2.yaml'
ref
:
'
master
'
ref
:
'
1.0.0
'
# Define stages
stages
:
...
...
@@ -13,66 +13,52 @@ stages:
-
publish
-
release
-
upgrade
-
clean
-
clean
up
# Define global variables
variables
:
P_NAME
:
"
gazelle-objects-checker"
P_APP_TYPE
:
"
java"
P_CODE_SRC_PATH
:
"
."
P_MAVEN_IMAGE_TAG
:
"
3.6.3-jdk-11-slim"
# Define jobs
compile/unit-test
:
stage
:
build
extends
:
-
.buildJavaMavenTest
variables
:
MAVEN_PHASE
:
"
clean
install"
P_MAVEN_EXTRA_ARGS
:
"
-DskipITs"
package
:
stage
:
build
extends
:
-
.buildJavaMavenPackage
needs
:
-
job
:
compile/unit-test
artifacts
:
true
variables
:
P_MAVEN_EXTRA_ARGS
:
"
-DskipTests"
integration-tests
:
stage
:
test
extends
:
-
.testJavaMavenIntegrationTests
needs
:
-
job
:
compile/unit-test
artifacts
:
false
allow_failure
:
true
static-analysis
:
stage
:
test
extends
:
-
.testJavaMavenSonarAnalysis
P_MAVEN_EXTRA_ARGS
:
"
-DskipTests
-DskipITs"
needs
:
-
job
:
compile/unit-test
artifacts
:
true
variables
:
P_MAVEN_EXTRA_ARGS
:
"
-Psonar
-DskipTests"
install-cache-repo
:
stage
:
publish
extends
:
-
.publishJavaMavenInstall
variables
:
P_MAVEN_EXTRA_ARGS
:
"
-DskipTests
-DskipITs"
needs
:
-
job
:
package
artifacts
:
false
variables
:
P_MAVEN_EXTRA_ARGS
:
"
-DskipTests"
artifacts
:
true
publish-code
:
stage
:
publish
extends
:
-
.publishJavaMavenDeploy
needs
:
-
job
:
package
artifacts
:
true
release/code
:
stage
:
release
extends
:
-
.releaseCodeForJava
\ No newline at end of file
-
.releaseCodeForJava
when
:
manual
variables
:
P_MAVEN_JAVADOC_SKIP
:
"
true"
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