summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeemu Suo-Anttila <teemusa@vaadin.com>2015-07-08 14:02:23 +0300
committerTeemu Suo-Anttila <teemusa@vaadin.com>2015-07-09 10:17:43 +0300
commit4a49b8c0e36dd10d2d9dfaa6f213a406987a7e15 (patch)
treed0a21b2326dcab784398e0c98c5c65a3ef903745
parent07523f1da87036e147ff99d3df551e4740f52090 (diff)
downloadvaadin-framework-4a49b8c0e36dd10d2d9dfaa6f213a406987a7e15.tar.gz
vaadin-framework-4a49b8c0e36dd10d2d9dfaa6f213a406987a7e15.zip
Add milestone creation link and build pinning to report
Change-Id: I5e153256dec2e520b6dec8cd8c7705df53a81086
-rw-r--r--scripts/GenerateBuildReport.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/scripts/GenerateBuildReport.py b/scripts/GenerateBuildReport.py
index 6ea03275c2..4f0a75e73e 100644
--- a/scripts/GenerateBuildReport.py
+++ b/scripts/GenerateBuildReport.py
@@ -6,6 +6,7 @@ import argparse
parser = argparse.ArgumentParser(description="Build report generator")
parser.add_argument("version", type=str, help="Vaadin version that was just built")
parser.add_argument("deployUrl", type=str, help="Base url of the deployment server")
+parser.add_argument("buildResultUrl", type=str, help="URL for the build result page")
args = parser.parse_args()
@@ -13,6 +14,7 @@ content = """<html>
<head></head>
<body>
<table>
+<tr><td><a href="https://dev.vaadin.com/milestone?action=new">Create milestone for next release</a></td></tr>
<tr><td><a href="https://dev.vaadin.com/query?status=closed&component=Core+Framework&resolution=fixed&milestone=Vaadin {version}&col=id&col=summary&col=component&col=milestone&col=status&col=type">Closed tickets with milestone {version}</a></td></tr>
<tr><td><a href="https://dev.vaadin.com/query?status=pending-release&component=Core+Framework&resolution=fixed&milestone=Vaadin {version}&col=id&col=summary&col=component&col=milestone&col=status&col=type">Pending-release tickets with milestone {version}</a></td></tr>
<tr><td><a href="https://dev.vaadin.com/query?status=pending-release&milestone=">Pending-release tickets without milestone</a></td></tr>
@@ -23,9 +25,10 @@ content = """<html>
for demo in demos:
content += "<tr><td><a href='{url}/{demoName}-{version}'>{demoName}</a></td></tr>\n".format(url=args.deployUrl, demoName=demo, version=args.version)
-content += """</table>
+content += """<tr><td><a href="{url}">Build result page (See test results, pin and tag build and dependencies)</a></td></tr>
+</table>
</body>
-</html>"""
+</html>""".format(url=args.buildResultUrl)
f = open("result/report.html", 'w')
f.write(content)