Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
assert-object-equals-module
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Jira
Jira
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Danijel Dragicevic
assert-object-equals-module
Commits
40b16148
Commit
40b16148
authored
Jun 06, 2019
by
Danijel Dragicevic
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added gitlab-ci file.
parent
f9630d8f
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
50 additions
and
0 deletions
+50
-0
.gitlab-ci.yml
.gitlab-ci.yml
+27
-0
.m2/settings.xml
.m2/settings.xml
+10
-0
pom.xml
pom.xml
+13
-0
No files found.
.gitlab-ci.yml
0 → 100644
View file @
40b16148
image
:
maven:latest
variables
:
MAVEN_CLI_OPTS
:
"
-s
.m2/settings.xml
--batch-mode"
MAVEN_OPTS
:
"
-Dmaven.repo.local=.m2/repository"
cache
:
paths
:
-
.m2/repository/
-
target/
build
:
stage
:
build
script
:
-
mvn $MAVEN_CLI_OPTS compile
test
:
stage
:
test
script
:
-
mvn $MAVEN_CLI_OPTS test
deploy
:
stage
:
deploy
script
:
-
mvn $MAVEN_CLI_OPTS deploy
only
:
-
master
\ No newline at end of file
.m2/settings.xml
0 → 100644
View file @
40b16148
<settings
xsi:schemaLocation=
"http://maven.apache.org/SETTINGS/1.1.0 http://maven.apache.org/xsd/settings-1.1.0.xsd"
xmlns=
"http://maven.apache.org/SETTINGS/1.1.0"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
>
<servers>
<server>
<id>
central
</id>
<username>
${env.MAVEN_REPO_USER}
</username>
<password>
${env.MAVEN_REPO_PASS}
</password>
</server>
</servers>
</settings>
\ No newline at end of file
pom.xml
View file @
40b16148
...
...
@@ -54,4 +54,17 @@
<version>
2.3.0
</version>
</dependency>
</dependencies>
<distributionManagement>
<repository>
<id>
central
</id>
<name>
artifactory.codecentric.de-releases
</name>
<url>
${env.MAVEN_REPO_URL}/public
</url>
</repository>
<snapshotRepository>
<id>
snapshots
</id>
<name>
artifactory.codecentric.de-snapshots
</name>
<url>
${env.MAVEN_REPO_URL}/public
</url>
</snapshotRepository>
</distributionManagement>
</project>
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