Compare commits
4 Commits
Author | SHA1 | Date |
---|---|---|
|
9c16d146ad | |
|
4a2a0ae934 | |
|
4693cc7a92 | |
|
b6bd0d9a00 |
|
@ -1,19 +1,20 @@
|
||||||
|
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
type: docker
|
type: docker
|
||||||
name: master
|
name: 123
|
||||||
platform:
|
platform:
|
||||||
os: linux
|
os: linux
|
||||||
arch: amd64
|
arch: arm64
|
||||||
steps:
|
steps:
|
||||||
|
- name: 编译
|
||||||
|
image: gcc
|
||||||
|
commands:
|
||||||
|
- ./configure
|
||||||
|
- make
|
||||||
- name: maven
|
- name: maven
|
||||||
image: maven:3-jdk-10
|
image: maven:3-jdk-10
|
||||||
commands:
|
commands:
|
||||||
- mvn install -DskipTests=true
|
- mvn install -DskipTests=true
|
||||||
- name: gradle
|
|
||||||
image: gradle:jdk10
|
|
||||||
commands:
|
|
||||||
- gradle build -x test
|
|
||||||
# 需要将软件包与部署脚本提前上传到远程主机(见文件上传模板)
|
# 需要将软件包与部署脚本提前上传到远程主机(见文件上传模板)
|
||||||
# host、username、password可在参数管理中配置
|
# host、username、password可在参数管理中配置
|
||||||
- name: 远程主机部署
|
- name: 远程主机部署
|
||||||
|
@ -31,6 +32,6 @@ steps:
|
||||||
- ./home/deploy.sh
|
- ./home/deploy.sh
|
||||||
trigger:
|
trigger:
|
||||||
branch:
|
branch:
|
||||||
- master
|
- test
|
||||||
event:
|
event:
|
||||||
- push
|
- push
|
||||||
|
|
Loading…
Reference in New Issue