diff options
author | Henri Sara <hesara@vaadin.com> | 2016-11-14 09:00:31 +0200 |
---|---|---|
committer | Henri Sara <hesara@vaadin.com> | 2016-11-14 09:00:31 +0200 |
commit | 3e8f028817582a77ec3654b1f8f99136f327cc70 (patch) | |
tree | 1b27ab5ca20547b97b44098b7f55bd87c3ca6d56 | |
parent | e629581fb046e2901d84af272f0d3ab87ba96deb (diff) | |
download | vaadin-framework-3e8f028817582a77ec3654b1f8f99136f327cc70.tar.gz vaadin-framework-3e8f028817582a77ec3654b1f8f99136f327cc70.zip |
Fix links in build report7.7.4
Change-Id: Id32467982207ac9a9ce45301097652715d9dfff8
-rw-r--r-- | scripts/GenerateBuildTestAndStagingReport.py | 6 |
1 files 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: "<a href='{url}/{archetypeName}-{version}'>{archetypeName}</a>".format(url=args.deployUrl, archetypeName=archetype, version=args.version), archetypes)) + link_list = list(map(lambda archetype: "<a href='{url}/{context}'>{archetypeName}</a>".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("", "<a href=\"http://{}/repository/download/{}/{}:id/release-notes/release-notes.html\">Check release notes</a>".format(args.teamcityUrl, args.buildTypeId, args.buildId)) # link to api diff -content += createTableRow("", "<a href=\"http://{}/repository/download/{}/{}:id/apidiff/changes.html\">API Diff</a>") +content += createTableRow("", "<a href=\"http://{}/repository/download/{}/{}:id/apidiff/changes.html\">API Diff</a>".format(args.teamcityUrl, args.buildTypeId, args.buildId)) # check that trac tickets are in the correct status content += createTableRow("", "<a href=\"https://dev.vaadin.com/query?status=closed&status=pending-release&component=Core+Framework&resolution=fixed&group=milestone&col=id&col=summary&col=component&col=status&col=type&col=priority&col=milestone&order=priority\">Check that trac tickets have correct status</a>") |