From 3e8f028817582a77ec3654b1f8f99136f327cc70 Mon Sep 17 00:00:00 2001 From: Henri Sara Date: Mon, 14 Nov 2016 09:00:31 +0200 Subject: [PATCH] Fix links in build report Change-Id: Id32467982207ac9a9ce45301097652715d9dfff8 --- scripts/GenerateBuildTestAndStagingReport.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/GenerateBuildTestAndStagingReport.py b/scripts/GenerateBuildTestAndStagingReport.py index f2dbafeeaf..05e8a0d313 100644 --- a/scripts/GenerateBuildTestAndStagingReport.py +++ b/scripts/GenerateBuildTestAndStagingReport.py @@ -1,5 +1,5 @@ from BuildDemos import demos -from BuildArchetypes import archetypes +from BuildArchetypes import archetypes, getDeploymentContext import argparse, requests, json, subprocess, re, pickle parser = argparse.ArgumentParser() @@ -70,7 +70,7 @@ def getDemoLinksHtml(): def getArchetypeLinksHtml(): archetypes_html = "Try archetypes" - link_list = list(map(lambda archetype: "{archetypeName}".format(url=args.deployUrl, archetypeName=archetype, version=args.version), archetypes)) + link_list = list(map(lambda archetype: "{archetypeName}".format(url=args.deployUrl, archetypeName=archetype, context=getDeploymentContext(archetype, args.version)), archetypes)) return archetypes_html + getHtmlList(link_list) def getDirs(url): @@ -156,7 +156,7 @@ content += createTableRow("", getArchetypeLinksHtml()) # link to release notes content += createTableRow("", "Check release notes".format(args.teamcityUrl, args.buildTypeId, args.buildId)) # link to api diff -content += createTableRow("", "API Diff") +content += createTableRow("", "API Diff".format(args.teamcityUrl, args.buildTypeId, args.buildId)) # check that trac tickets are in the correct status content += createTableRow("", "Check that trac tickets have correct status") -- 2.39.5