aboutsummaryrefslogtreecommitdiffstats
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-08 14:02:23 +0300
commit96dda655db270069ecd88d3b9340e8a05c17bebc (patch)
treeccb9e325c1582ffa8222003af0f257afd1ce3b4b
parenta5a007ed9f03dac242ba9af6ec0974c256d6a289 (diff)
downloadvaadin-framework-96dda655db270069ecd88d3b9340e8a05c17bebc.tar.gz
vaadin-framework-96dda655db270069ecd88d3b9340e8a05c17bebc.zip
Add milestone creation link and build pinning to report
Change-Id: Iaed3a5ebdf1e91c3cd65b04efa2201b1db0d87f3
-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)