Compare commits

..

3 Commits

Author SHA1 Message Date
jasder 1d9813bb23 Update .gitignore 2021-07-02 23:28:33 +08:00
jasder b93fd856d8 Update '.trustie-pipeline.yml' 2021-07-02 23:27:25 +08:00
jasder e61d8ceda7 Update '.trustie-pipeline.yml'
continuous-integration/drone/push Build is passing Details
2021-02-02 11:27:02 +08:00
3 changed files with 17 additions and 6 deletions

2
.gitignore vendored
View File

@ -1,4 +1,4 @@
# ---> Actionscript
# Build and Release Folders
bin-debug/
bin-release/

View File

@ -1,15 +1,25 @@
kind: pipeline
type: docker
name: 开发test
name: 开发流水线
platform:
os: linux
arch: amd64
steps:
- name: maven
image: maven:3-jdk-10
commands:
- mvn install -DskipTests=true
# 需要将软件包与部署脚本提前上传到远程主机(见文件上传模板)
# host、username、password可在参数管理中配置
- name: 远程主机部署
image: appleboy/drone-ssh
settings:
host:
from_secret: ip
username:
from_secret: name
password:
from_secret: pwd
port: 22
script:
- echo "xxxxx" > /home/test
trigger:
branch:
- master

View File

@ -7,3 +7,4 @@ MAINTAINER moshenglv@163.com
#复制应用程序
COPY target/demo-1.war /usr/local/tomcat/webapps/demo.war