Move release functionality into Common_scripts

This commit is contained in:
Dan Hawkins 2018-11-29 18:39:53 +00:00
commit e4f8dab2bb

View file

@ -31,7 +31,7 @@ def setunstable(String reason) {
def summaryappend(String summary) {
def String currentsummarycontents = readFile(file: summaryfile)
writeFile(file: summaryfile, text: currentsummarycontents + summary + "\n")
writeFile(file: summaryfile, text: currentsummarycontents + summary)
}
def checkoutreleaserepo(info, String checkoutfolder) {
@ -112,6 +112,8 @@ def releasecomponent(info, String dryrunpush) {
def String buildstamp = info.meta.buildstampinfo.buildstamp
gitrelease(uniquefolderforrepo, buildstamp, dryrunpush)
summaryappend("\n")
}
def releasehierarchy(buildmeta, String maxdepth, dryrunpush) {