|
@@ -10,7 +10,7 @@ steps: |
|
|
- name: maven |
|
|
- name: maven |
|
|
image: maven:3-jdk-10 |
|
|
image: maven:3-jdk-10 |
|
|
commands: |
|
|
commands: |
|
|
- mvn install -DskipTests=true |
|
|
|
|
|
|
|
|
- mvn install -DskipTests=true. |
|
|
|
|
|
|
|
|
# 需要将软件包与部署脚本提前上传到远程主机(见文件上传模板) |
|
|
# 需要将软件包与部署脚本提前上传到远程主机(见文件上传模板) |
|
|
# host、username、password可在参数管理中配置 |
|
|
# host、username、password可在参数管理中配置 |
|
@@ -26,7 +26,7 @@ steps: |
|
|
port: 22 |
|
|
port: 22 |
|
|
script: |
|
|
script: |
|
|
- chmod +x /home/deploy.sh |
|
|
- chmod +x /home/deploy.sh |
|
|
- ./home/deploy.shb |
|
|
|
|
|
|
|
|
- ./home/deploy.sh |
|
|
trigger: |
|
|
trigger: |
|
|
branch: |
|
|
branch: |
|
|
- container |
|
|
- container |
|
|