jshixiong 2 years ago
parent
commit
77eb4439c7
1 changed files with 6 additions and 6 deletions
  1. +6
    -6
      .drone.yml

+ 6
- 6
.drone.yml View File

@@ -11,12 +11,12 @@ volumes:
path: /tmp/cache
steps:
- name: detection
image: python:3
failure: ignore
commands:
- echo **detection test**
- curl 'http://121.40.129.71:40111/openi/projects/droneDetect' -X POST --header 'content-type:application/json;charset=UTF-8' -d '{"currentUser":"wangwei2","repoOwner":"wangwei2","repository":"report-python3","branchName":"master"}'
#- name: detection
# image: python:3
# failure: ignore
# commands:
# - echo **detection test**
# - curl 'http://121.40.129.71:40111/openi/projects/droneDetect' -X POST --header 'content-type:application/json;charset=UTF-8' -d '{"currentUser":"wangwei2","repoOwner":"wangwei2","repository":"report-python3","branchName":"test"}'

- name: build
image: python:3


Loading…
Cancel
Save