Jeremy Stanley 55370a54ab Add a net-info job builder macro
To assist in troubleshooting a variety of otherwise hard-to-diagnose
failure modes, add a builder macro to jobs so that we will be able
to see their interface addresses, routing table entries and network
neighbors.

Change-Id: I256c31312fa97dbc3aa44732cae99d066b57d223
2014-03-19 00:06:03 +00:00

19 lines
387 B
YAML

- job-template:
name: '{pipeline}-gitdm'
node: '{node}'
builders:
- link-logs
- net-info
- gerrit-git-prep
- shell: |
#!/bin/bash -xe
export TEMPDIR=${{TEMPDIR:-$(mktemp -d $(pwd)/dmtmp-XXXXXX)}}
export GITBASE=${{TEMPDIR}}/git
export LP_STATS=n
bash ./do-it.sh
publishers:
- console-log