Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
CICDTest
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
CICDTest
Commits
d2155b85
Commit
d2155b85
authored
Aug 25, 2022
by
Perwaiz Ali
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update .gitlab-ci.yml
parent
e372c0d9
Pipeline
#2170
failed
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
50 deletions
+9
-50
.gitlab-ci.yml
.gitlab-ci.yml
+9
-50
No files found.
.gitlab-ci.yml
View file @
d2155b85
variables
:
MAVEN_OPTS
:
-Dmaven.repo.local=.m2/repository
default
:
image
:
ruby:2.6
image
:
maven:latest
services
:
-
postgres:11.7
stages
:
-
build
-
test
-
package
-
deploy
before_script
:
-
bundle install
cache
:
paths
:
-
.m2/repository
-
target
build_job
:
stage
:
build
tags
:
-
docker
script
:
-
echo "Maven compile started"
-
"
mvn
compile"
test_job
:
stage
:
test
tags
:
-
docker
script
:
-
echo "Maven test started"
-
"
mvn
test"
package_job
:
stage
:
package
tags
:
-
docker
script
:
-
echo "Maven packaging started"
-
"
mvn
package"
Deploy_job
:
stage
:
deploy
tags
:
-
docker
script
:
-
echo "Maven deploy started"
test
:
script
:
-
bundle exec rake spec
\ No newline at end of file
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