Move release functionality into Common_scripts
This commit is contained in:
parent
49718547b7
commit
94bb1d5c7d
1 changed files with 3 additions and 2 deletions
|
|
@ -114,11 +114,12 @@ def releasecomponent(info) {
|
|||
gitrelease(uniquefolderforrepo, buildstamp)
|
||||
}
|
||||
|
||||
def releasehierarchy(buildmeta, int maxdepth = MAX_META_DEPTH) {
|
||||
def releasehierarchy(buildmeta, String maxdepth) {
|
||||
int md = maxdepth.toInteger()
|
||||
start()
|
||||
|
||||
// Walk the meta information to a max depth, looking for artifacts to import for release
|
||||
componentReleaseInfo = buildmeta.releasewalkerunique(maxdepth.toInteger())
|
||||
componentReleaseInfo = buildmeta.releasewalkerunique(md)
|
||||
|
||||
// For each component
|
||||
for (key in componentReleaseInfo.keySet()) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue