From 841d240c43d2706a9441d23674ca1a7d461e10c7 Mon Sep 17 00:00:00 2001 From: Teemu Suo-Anttila Date: Tue, 14 Jul 2015 15:00:53 +0300 Subject: [PATCH] Move demo links from release report to staging report Change-Id: I482bef9c58f5151357b9d2ef06f413872cc576bd --- scripts/GenerateBuildReport.py | 8 +------- scripts/GenerateStagingReport.py | 7 ++++++- 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 += "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)) -- 2.39.5