38 lines
813 B
YAML
38 lines
813 B
YAML
kind: pipeline
|
|
type: ssh
|
|
name: ssh-linux-test-study-publish
|
|
|
|
platform:
|
|
os: Linux
|
|
arch: 386
|
|
|
|
clone:
|
|
disable: true #禁用默认克隆
|
|
|
|
server:
|
|
host: 106.14.89.110
|
|
user: root
|
|
password:
|
|
from_secret: test_ssh_pwd
|
|
|
|
steps:
|
|
- name: publish-test-sir(study)
|
|
commands:
|
|
- bash /opt/1panel/xc-deploy-new/Test_Study/devops-publish/test-branch-publish.sh
|
|
- name: notify-wecom
|
|
commands:
|
|
- bash /opt/1panel/xc-deploy-new/devops-center/drone-notify-wecom.sh "$DRONE_BUILD_STATUS" "$DRONE_REPO_NAME" "$DRONE_BRANCH" "$DRONE_BUILD_NUMBER" "4355b98e-1e72-4678-8dfb-2fc6ad0bf449" "$DRONE_COMMIT_MESSAGE" "$DRONE_COMMIT_AUTHOR" "Test_Study_API" "sir.test.extimaging.com"
|
|
when:
|
|
status:
|
|
- success
|
|
- failure
|
|
|
|
trigger:
|
|
branch:
|
|
- Test_Study_Net8
|
|
|
|
|
|
|
|
|
|
|
|
|