]> source.dussan.org Git - vaadin-framework.git/commitdiff
Move demo links from release report to staging report
authorTeemu Suo-Anttila <teemusa@vaadin.com>
Tue, 14 Jul 2015 12:00:53 +0000 (15:00 +0300)
committerTeemu Suo-Anttila <teemusa@vaadin.com>
Tue, 14 Jul 2015 12:04:32 +0000 (12:04 +0000)
Change-Id: I4c38f787a44856a8420e1f9bda3ae6a1d889588f

scripts/GenerateBuildReport.py
scripts/GenerateStagingReport.py

index 8ee2472133a4b959e9215839937e4b7e64beb84a..13438f2233bce81abf47bf63a9722e276a228f97 100644 (file)
@@ -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)
index fdcdc93fdbcbb8438ce81682f391211004bf3726..7c2aeda9e0420e1ae09104c0cbdb4f8908330286 100644 (file)
@@ -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))