Page MenuHomePhabricator
Paste P1840

repo-cloc.yaml
ActivePublic

Authored by cburroughs on Aug 10 2015, 1:12 PM.
Tags
None
Referenced Files
F698095: repo-cloc.yaml
Aug 10 2015, 1:12 PM
Subscribers
None
- job-template:
name: cloc-{group}-{repo}
project-type: freestyle
description: '*** Managed by Jenkins Job Builder *** '
concurrent: false
disabled: false
block-downstream: false
block-upstream: false
quiet-period: 5
retry-count: 3
node: 'slave && physical'
logrotate:
daysToKeep: 32
scm:
- git:
url: http://git.corp/{checkout}
fastpoll: false
branches:
- origin/master
triggers:
- pollscm: "@hourly"
wrappers:
- ansicolor
- timeout:
fail: true
type: absolute
timeout: 45 # minutes
publishers:
- sloccount:
report-files: cloc/cloc.xml
builders:
- shell: |
rm -rf cloc
mkdir -p cloc
cloc --exclude-dir=cloc --out=cloc/cloc.txt .
cloc --exclude-dir=cloc --by-file-by-lang --yaml --out=cloc/cloc.yaml .
cloc --exclude-dir=cloc --by-file --xml --out=cloc/cloc.xml .
- project:
name: repos
repo:
- foo.git:
group: stuff-we-wrote
checkout: foo.git
# A list of 100 other repos
jobs:
- 'cloc-{group}-{repo}'

Event Timeline

cburroughs changed the title of this paste from untitled to repo-cloc.yaml.
cburroughs updated the paste's language from autodetect to autodetect.