Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
java-devop-sentry
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
zhouzihao
java-devop-sentry
Commits
cc34422c
Commit
cc34422c
authored
Mar 23, 2020
by
zhouzihao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
conf
parent
29b32554
Pipeline
#93
failed
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
2 deletions
+14
-2
.gitlab-ci.yml
.gitlab-ci.yml
+14
-2
No files found.
.gitlab-ci.yml
View file @
cc34422c
image
:
maven:3.6.0-jdk-8-alpine
stages
:
-
build
-
deploy
...
...
@@ -12,15 +10,29 @@ cache:
variables
:
MAVEN_OPTS
:
"
-Dmaven.repo.local=.m2"
# 打包
dep
:
image
:
maven:3.6.0-jdk-8-alpine
stage
:
build
script
:
-
mvn clean package -Dmaven.test.skip=true
artifacts
:
paths
:
-
target/
expire_in
:
1 week
# 复制文件
cp
:
stage
:
build
script
:
-
rm /root/tmpdata/*.jar
-
cp target/app.jar /root/tmpdata/
dependencies
:
-
dep
tags
:
-
'
zzh-test'
# 测试环境部署
run
:
stage
:
deploy
...
...
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