summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorTeemu Suo-Anttila <teemusa@vaadin.com>2015-07-14 15:00:53 +0300
committerTeemu Suo-Anttila <teemusa@vaadin.com>2015-07-14 12:04:32 +0000
commit00d622a0dd81ecd131705a1d1359f554de7e1430 (patch)
tree122229c11441fa53d1884964c25c8676ec39d123 /scripts
parented02ddb86ea3c59b34a07661fdfd36eae937b060 (diff)
downloadvaadin-framework-00d622a0dd81ecd131705a1d1359f554de7e1430.tar.gz
vaadin-framework-00d622a0dd81ecd131705a1d1359f554de7e1430.zip
Move demo links from release report to staging report
Change-Id: I4c38f787a44856a8420e1f9bda3ae6a1d889588f
Diffstat (limited to 'scripts')
-rw-r--r--scripts/GenerateBuildReport.py8
-rw-r--r--scripts/GenerateStagingReport.py7
2 files changed, 7 insertions, 8 deletions
diff --git a/scripts/GenerateBuildReport.py b/scripts/GenerateBuildReport.py
index 8ee2472133..13438f2233 100644
--- a/scripts/GenerateBuildReport.py
+++ b/scripts/GenerateBuildReport.py
@@ -33,13 +33,7 @@ except subprocess.CalledProcessError as e:
else:
raise e
-content += "<tr><td>Try demos<ul>"
-
-for demo in demos:
- content += "<li><a href='{url}/{demoName}-{version}'>{demoName}</a></li>\n".format(url=args.deployUrl, demoName=demo, version=args.version)
-
-content += """</ul></td></tr>
-<tr><td><a href="{url}">Build result page (See test results, pin and tag build and dependencies)</a></td></tr>
+content += """<tr><td><a href="{url}">Build result page (See test results, pin and tag build and dependencies)</a></td></tr>
</table>
</body>
</html>""".format(url=args.buildResultUrl)
diff --git a/scripts/GenerateStagingReport.py b/scripts/GenerateStagingReport.py
index fdcdc93fdb..7c2aeda9e0 100644
--- a/scripts/GenerateStagingReport.py
+++ b/scripts/GenerateStagingReport.py
@@ -17,7 +17,12 @@ content = """<html>
<table>
"""
-content += "<tr><td>Try archetype demos<ul>"
+content += "<tr><td>Try demos<ul>"
+
+for demo in demos:
+ content += "<li><a href='{url}/{demoName}-{version}'>{demoName}</a></li>\n".format(url=args.deployUrl, demoName=demo, version=args.version)
+
+content += "</ul></td></tr>\n<tr><td>Try archetype demos<ul>"
for archetype in archetypes:
content += "<li><a href='{url}/{context}'>{demo}</a></li>\n".format(url=args.deployUrl, demo=archetype, context=getDeploymentContext(archetype, args.version))