Parcourir la source

Fix links in build report

Change-Id: Id32467982207ac9a9ce45301097652715d9dfff8
tags/7.7.4^0
Henri Sara il y a 7 ans
Parent
révision
3e8f028817
1 fichiers modifiés avec 3 ajouts et 3 suppressions
  1. 3
    3
      scripts/GenerateBuildTestAndStagingReport.py

+ 3
- 3
scripts/GenerateBuildTestAndStagingReport.py Voir le fichier

@@ -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>")

Chargement…
Annuler
Enregistrer