From: Teemu Suo-Anttila Date: Tue, 14 Jul 2015 12:00:53 +0000 (+0300) Subject: Move demo links from release report to staging report X-Git-Tag: 7.5.2~19 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=841d240c43d2706a9441d23674ca1a7d461e10c7;p=vaadin-framework.git Move demo links from release report to staging report Change-Id: I482bef9c58f5151357b9d2ef06f413872cc576bd --- 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 += "Try demos -Build result page (See test results, pin and tag build and dependencies) +content += """Build result page (See test results, pin and tag build and dependencies) """.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 = """ """ -content += "\n
Try archetype demos
    " +content += "
Try demos
    " + +for demo in demos: + content += "
  • {demoName}
  • \n".format(url=args.deployUrl, demoName=demo, version=args.version) + +content += "
Try archetype demos
    " for archetype in archetypes: content += "
  • {demo}
  • \n".format(url=args.deployUrl, demo=archetype, context=getDeploymentContext(archetype, args.version))