Add a summary on the console
This commit is contained in:
parent
75708e8b1d
commit
7b4ccb95da
1 changed files with 4 additions and 1 deletions
|
|
@ -5,6 +5,7 @@ summaryfolder = "${WORKSPACE}/summary"
|
|||
summaryfile = "${summaryfolder}/summary.txt"
|
||||
releaserepofolder = "${WORKSPACE}/releaserepos"
|
||||
tempfolder = "${WORKSPACE}/temp"
|
||||
summarystring = ""
|
||||
|
||||
metascript = autobuilder.getmetafolderscript()
|
||||
|
||||
|
|
@ -23,6 +24,7 @@ def resetfolders() {
|
|||
def preconditions() {
|
||||
markunstable = false
|
||||
unstablereason = ""
|
||||
summarystring = ""
|
||||
writeFile(file: summaryfile, text: "Release summary: \n")
|
||||
}
|
||||
|
||||
|
|
@ -34,6 +36,7 @@ def setunstable(String reason) {
|
|||
def summaryappend(String summary) {
|
||||
def String currentsummarycontents = readFile(file: summaryfile)
|
||||
writeFile(file: summaryfile, text: currentsummarycontents + summary)
|
||||
summarystring += summary
|
||||
}
|
||||
|
||||
def getpreviousreleasemeta(buildmeta, String checkoutfolder) {
|
||||
|
|
@ -237,7 +240,7 @@ def releasehierarchy(buildmeta, String maxdepth, String otherreleasetags, String
|
|||
def buildinfo = componentReleaseInfo[key]
|
||||
releasecomponent(buildinfo, otherreleasetags, dryrunpush)
|
||||
}
|
||||
return [markunstable, unstablereason]
|
||||
return [summarystring, markunstable, unstablereason]
|
||||
}
|
||||
|
||||
return this;
|
||||
Loading…
Add table
Add a link
Reference in a new issue