From 9c336ba67e02fa3437159ea7c5977766a2f87763 Mon Sep 17 00:00:00 2001 From: Teemu Suo-Anttila Date: Mon, 10 Aug 2015 11:52:07 +0300 Subject: Add missing URLs to staging report This adds a new command line parameter for TestBench API build Change-Id: Ib9a362c665c018dba1dc88d9725980e46fdc9665 --- scripts/GenerateStagingReport.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/scripts/GenerateStagingReport.py b/scripts/GenerateStagingReport.py index fad66b993f..23977aa933 100644 --- a/scripts/GenerateStagingReport.py +++ b/scripts/GenerateStagingReport.py @@ -9,6 +9,7 @@ parser.add_argument("version", type=str, help="Vaadin version that was just buil parser.add_argument("deployUrl", type=str, help="Base url of the deployment server") parser.add_argument("buildResultUrl", type=str, help="URL for the build result page") parser.add_argument("stagingRepo", type=str, help="URL for the staging repository") +parser.add_argument("tbapiUrl", type=str, help="URL for the TestBench API build") args = parser.parse_args() @@ -35,7 +36,8 @@ content += cgi.escape(""" """.format(repoUrl=args.stagingRepo)) content += """ -Trac Milestone +Close Trac Milestone +Verify pending release tickets still have milestone {version} Add version {version} to Trac Staging result page (See test results, pin and tag build and dependencies) Commands to tag all repositories (warning: do not run as a single script but set variables and check before any push commands - this has not been tested yet and the change IDs are missing) @@ -72,9 +74,10 @@ git tag -a -m"$VERSION" $VERSION $PLUGIN_REVISION git push --tags cd .. +Build and publish TestBench API for version {version} if proceeding -""".format(url=args.buildResultUrl, repoUrl=args.stagingRepo, version=args.version) +""".format(url=args.buildResultUrl, repoUrl=args.stagingRepo, version=args.version, tbapi=args.tbapiUrl) f = open("result/report.html", 'w') f.write(content) -- cgit v1.2.3