From 60097da19728f2675245a914f0bd98f4f01df896 Mon Sep 17 00:00:00 2001 From: Henri Sara Date: Thu, 22 Dec 2016 11:25:49 +0200 Subject: Add TestBench API as an expected artifact in build report (#8075) Also fixes a syntax error in the script. --- scripts/GenerateBuildTestAndStagingReport.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'scripts') diff --git a/scripts/GenerateBuildTestAndStagingReport.py b/scripts/GenerateBuildTestAndStagingReport.py index c5c31b09cd..25e0770760 100644 --- a/scripts/GenerateBuildTestAndStagingReport.py +++ b/scripts/GenerateBuildTestAndStagingReport.py @@ -112,9 +112,9 @@ def checkStagingContents(url, allowedArtifacts): def getStagingContentsHtml(repoUrl, allowedArtifacts, name): if checkStagingContents(repoUrl, allowedArtifacts): - return createTableRow(traffic_light.format(color="green"), "No extra artifacts found in the {} staging repository. Link to the repository.".format(name, repoUrl)) + return createTableRow(traffic_light.format(color="green"), "Expected artifacts found in the {} staging repository. Link to the repository.".format(name, repoUrl)) else: - return createTableRow(traffic_light.format(color="red"), "Extra artifacts found in the {} staging repository. Link to the repository.".format(name, repoUrl)) + return createTableRow(traffic_light.format(color="red"), "Extraneous or missing artifacts in the {} staging repository. Link to the repository.".format(name, repoUrl)) def completeArtifactName(artifactId, version): return 'com/vaadin/' + artifactId + '/' + version @@ -125,7 +125,7 @@ def completeArtifactNames(artifactIds, version): allowedPluginArtifacts = completeArtifactNames([ 'vaadin-maven-plugin' ], args.version) allowedArchetypeArtifacts = completeArtifactNames([ 'vaadin-archetype-application', 'vaadin-archetype-application-multimodule', 'vaadin-archetype-application-example', 'vaadin-archetype-widget', 'vaadin-archetype-liferay-portlet' ], args.version) -allowedFrameworkArtifacts = completeArtifactNames([ 'vaadin-root', 'vaadin-bom', 'vaadin-shared', 'vaadin-server', 'vaadin-client', 'vaadin-client-compiler', 'vaadin-client-compiled', 'vaadin-push', 'vaadin-themes', 'vaadin-compatibility-shared', 'vaadin-compatibility-server', 'vaadin-compatibility-client', 'vaadin-compatibility-client-compiled', 'vaadin-compatibility-themes' ], args.version) +allowedFrameworkArtifacts = completeArtifactNames([ 'vaadin-root', 'vaadin-bom', 'vaadin-shared', 'vaadin-server', 'vaadin-client', 'vaadin-client-compiler', 'vaadin-client-compiled', 'vaadin-push', 'vaadin-themes', 'vaadin-compatibility-shared', 'vaadin-compatibility-server', 'vaadin-compatibility-client', 'vaadin-compatibility-client-compiled', 'vaadin-compatibility-themes', 'vaadin-testbench-api' ], args.version) content = "" traffic_light = "" @@ -168,7 +168,7 @@ content += createTableRow("", "Preparations before publishing") # close GitHub milestone -content += createTableRow("", "Close GitHub Milestone" +content += createTableRow("", "Close GitHub Milestone") # link to build dependencies tab to initiate publish step content += createTableRow("", "

Start Publish Release from dependencies tab

".format(args.teamcityUrl, args.buildId, args.buildTypeId)) -- cgit v1.2.3