You can not select more than 25 topics
Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- kind: pipeline
- type: docker
- name: masterpipe
- platform:
- os: linux
- arch: arm64
-
- clone:
- disable: true
-
- steps:
- - name: maven
- image: maven:3-jdk-8
- volumes:
- - name: maven-build
- path: /tmp/testDrone
- commands:
- - git clone http://wangwei:zq123456@10.16.22.23:43001/wangwei10061/jsxdemo.git
- - cd jsxdemo
- - ls
- - cp README.md /tmp/testDrone/demoREADME.md
- - cd /tmp/testDrone
- - ls
-
- - name: 远程主机部署
- image: appleboy/drone-ssh:linux-arm64
- settings:
- host:
- from_secret: SECRET_IP
- username: root
- password:
- from_secret: SECRET_PWD
- port: 22
- script:
- - cd /tmp/testDrone
- - ls
-
- volumes:
- - name: maven-build
- host:
- path: /tmp/testDrone
-
- trigger:
- branch:
- - master
- event:
- - push
- - pull_request
|