|
|
@@ -18,16 +18,15 @@ steps: |
|
|
|
- git clone http://wangwei:zq123456@10.16.22.23:43001/wangwei10061/jsxdemo.git |
|
|
|
- cd jsxdemo |
|
|
|
- ls |
|
|
|
- mvn clean package -DskipTests=true |
|
|
|
- cd target |
|
|
|
- cp jsxtestttt-0.0.1-SNAPSHOT.jar /tmp/testDrone/jsxdemo-SNAPSHOT.jar |
|
|
|
- cp README.md /tmp/testDrone/demoREADME.md |
|
|
|
- cd /tmp/testDrone |
|
|
|
- ls |
|
|
|
|
|
|
|
- name: 远程主机部署 |
|
|
|
image: appleboy/drone-ssh:linux-arm64 |
|
|
|
settings: |
|
|
|
host: 10.16.22.30 |
|
|
|
host: |
|
|
|
from_secret: SECRET_IP |
|
|
|
username: root |
|
|
|
password: |
|
|
|
from_secret: SECRET_PWD |
|
|
|