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.

.drone.yml 880 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. kind: pipeline
  2. type: docker
  3. name: 1
  4. platform:
  5. os: linux
  6. arch: amd64
  7. volumes:
  8. - name: cache
  9. host:
  10. path: /tmp/cache
  11. steps:
  12. - name: detection
  13. image: python:3
  14. failure: ignore
  15. commands:
  16. - echo **detection test**
  17. - curl 'http://121.40.129.71:40111/openi/projects/reDetect' -X POST --header 'content-type:application/json;charset=UTF-8' -d '{"projectId":94,"templateId":"60","type":"0","currentUser":"wangwei2","repoOwner":"wangwei2","repository":"report-python3"}'
  18. - name: build
  19. image: python:3
  20. commands:
  21. - echo **start**
  22. - pip install -r requirements.txt
  23. - name: test
  24. image: python:3
  25. commands:
  26. - pip install -r requirements.txt
  27. - python run_excel_re.py
  28. - ls -lR test_Report
  29. - cp -r test_Report/* /tmp/cache
  30. volumes:
  31. - name: cache
  32. path: /tmp/cache
  33. trigger:
  34. branch:
  35. - master
  36. event:
  37. - push

生成接口测试报告