This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
Repositories
Datasets
Forum
实训
竞赛
大数据
应用
Register
Sign In
OpenI
/
devopsdemo
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
0
Wiki
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
Browse Source
update pipeline for master branch
interface
高级云脑研发工程师
2 years ago
parent
5266a3ca27
commit
f2bb06f1d0
1 changed files
with
23 additions
and
11 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+23
-11
.drone.yml
+ 23
- 11
.drone.yml
View File
@@ -1,21 +1,33 @@
kind: pipeline
type: docker
name:
master
name:
1
platform:
os: linux
arch: amd64
workspace:
base: /opt/workspace
path: work
volumes:
- name: m2
host:
path: /root/.m2
steps:
- name: maven
image: maven:3-jdk-10
commands:
- mvn install
- name: tomcat-deploy
image: tomcat
commands:
- cp target/webssh.war /usr/local/tomcat/webapps
- bash /usr/local/tomcat/bin/start.sh
- name: maven
image: maven:3-jdk-10
volumes:
- name: m2
path: /root/.m2
commands:
- mvn install
- name: tomcat-deploy
image: tomcat
commands:
- cp target/webssh.war /usr/local/tomcat/webapps
- bash /usr/local/tomcat/bin/start.sh
trigger:
branch:
Write
Preview
Loading…
Cancel
Save