From 00d622a0dd81ecd131705a1d1359f554de7e1430 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: I4c38f787a44856a8420e1f9bda3ae6a1d889588f --- 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