Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
IA2
GMS
Commits
c70fe3b1
Commit
c70fe3b1
authored
Oct 29, 2020
by
Sonia Zorba
Browse files
Added CI for gms-client
parent
0777d93e
Pipeline
#576
failed with stages
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
0 → 100644
View file @
c70fe3b1
stages
:
-
build
-
test
-
deploy
build_gms_client
:
stage
:
build
tags
:
-
docker
script
:
-
cd gms-client/gms-client
-
mvn clean package -DskipTests -DfinalName=gms-client
artifacts
:
paths
:
-
gms-client/gms-client/target/gms-client.jar
-
gms-client/gms-client/pom.xml
expire_in
:
7 days
only
:
-
master
test_gms_client
:
stage
:
test
tags
:
-
docker
script
:
-
cd gms-client/gms-client
-
mvn clean test
only
:
-
master
deploy_gms_client
:
stage
:
deploy
tags
:
-
docker
script
:
-
mvn deploy:deploy-file
-Dfile=gms-client/gms-client/target/gms-client.jar
-DrepositoryId=ia2.snapshots
-DpomFile=gms-client/gms-client/pom.xml
-Durl=${IA2_MVN_REPO_SNAPSHOTS}
only
:
-
master
gms-client/gms-client/pom.xml
View file @
c70fe3b1
...
...
@@ -11,6 +11,7 @@
<maven.compiler.target>
14
</maven.compiler.target>
<junit-jupiter.version>
5.6.0
</junit-jupiter.version>
<mockito.version>
3.5.13
</mockito.version>
<finalName>
${project.artifactId}-${project.version}
</finalName>
</properties>
<dependencies>
<dependency>
...
...
@@ -56,6 +57,7 @@
</dependency>
</dependencies>
<build>
<finalName>
${finalName}
</finalName>
<plugins>
<plugin>
<groupId>
org.jacoco
</groupId>
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment