Drone 插件市场 > diagnostics
diagnostics
by drone-plugins
Apache License 2.0一个带有 cli 网络工具(dig / ping / traceroute)的插件,用于诊断构建中的问题。它不接受任何属性。
YAML 配置示例
kind: pipeline
name: default
clone:
disable: true
steps:
- name: run plugins/drone-diagnostics plugin
image: plugins/drone-diagnostics
pull: if-not-exists
commands:
- env
- ping www.github.com -w 5
- traceroute -T -p 443 www.github.com
- dig www.apple.com
- echo "end of test"