Code Review
/
releng
/
builder.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Enable shallow clone for git repos
[releng/builder.git]
/
jjb
/
releng-macros.yaml
diff --git
a/jjb/releng-macros.yaml
b/jjb/releng-macros.yaml
index cbd80dd03847b7521d635f95dfa35117b1e3f544..b188da33d8a0557b199628997c904fad3643afb5 100644
(file)
--- a/
jjb/releng-macros.yaml
+++ b/
jjb/releng-macros.yaml
@@
-48,6
+48,14
@@
default: ''
description: 'csv list of patches in project:changeset format to build distribution with'
default: ''
description: 'csv list of patches in project:changeset format to build distribution with'
+- parameter:
+ name: distribution-branch-to-build-parameter
+ parameters:
+ - string:
+ name: DISTRIBUTION_BRANCH_TO_BUILD
+ default: 'master'
+ description: 'distribution repo branch to build with'
+
- scm:
name: git-scm
scm:
- scm:
name: git-scm
scm:
@@
-58,6
+66,7
@@
branches:
- 'origin/{branch}'
skip-tag: true
branches:
- 'origin/{branch}'
skip-tag: true
+ shallow-clone: true
wipe-workspace: true
- scm:
wipe-workspace: true
- scm:
@@
-70,6
+79,7
@@
branches:
- 'origin/$GERRIT_BRANCH'
skip-tag: true
branches:
- 'origin/$GERRIT_BRANCH'
skip-tag: true
+ shallow-clone: true
choosing-strategy: '{choosing-strategy}'
- wrapper:
choosing-strategy: '{choosing-strategy}'
- wrapper:
@@
-213,7
+223,6
@@
builders:
- sonatype-clm:
application-name: '{application-name}'
builders:
- sonatype-clm:
application-name: '{application-name}'
- scan-targets: '**/target/**'
- builder:
name: releng-check-unicode
- builder:
name: releng-check-unicode