Page MenuHomePhabricator

repo-cloc.yaml

Authored By
cburroughs
Aug 10 2015, 1:12 PM
Size
1 KB
Referenced Files
None
Subscribers
None

repo-cloc.yaml

- 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}'

File Metadata

Mime Type
text/plain; charset=utf-8
Storage Engine
amazon-s3
Storage Format
Raw Data
Storage Handle
phabricator/rq/3l/a552zqrqvs3tajiw
Default Alt Text
repo-cloc.yaml (1 KB)

Event Timeline