project-config/jenkins/jobs/golang-jobs.yaml
Dean Troyer 7752bf73df Add golang-jobs
Start with getting the basics in place and a single gofmt check job.

Change-Id: Ic64d9c753521542127dce73e8172522c3ec24bf5
2016-12-20 19:06:32 -06:00

23 lines
419 B
YAML

- job-template:
name: 'gate-{name}-fmt-{node}'
node: '{node}'
builders:
- print-template-name:
template-name: "{template-name}"
- install-distro-packages
- revoke-sudo
- shell: |
#!/bin/bash -xe
make fmt
publishers:
- console-log
- job-group:
name: golang-jobs
node:
- ubuntu-xenial
jobs:
- 'gate-{name}-fmt-{node}'