diff -r 000000000000 -r 83f4b4db085c bldsystemtools/commonbldutils/GenResult/locations.tmpl --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/bldsystemtools/commonbldutils/GenResult/locations.tmpl Tue Feb 02 01:39:43 2010 +0200 @@ -0,0 +1,45 @@ +[@--# Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies). +# All rights reserved. +# This component and the accompanying materials are made available +# under the terms of the License "Eclipse Public License v1.0" +# which accompanies this distribution, and is available +# at the URL "http://www.eclipse.org/legal/epl-v10.html". +# +# Initial Contributors: +# Nokia Corporation - initial contribution. +# +# Contributors: +# +# Description: +# Template processed by GenDiamondsXml.pm +# +#--@] + + + [@--$ENV{DiamondsSchemaNum}--@] + [@-- + my $PubPath = ""; + my $LogPath = ""; + if($ENV{BuildSubType} eq "Daily") + { + $LogPath = $ENV{PublishLocation}."\\".$ENV{Type}."\\" .$ENV{BuildNumber}."\\logs\\"; + $PubPath = $ENV{PublishLocation}."\\"."ComponentisedReleases\\DailyBuildArchive\\".$ENV{BuildBaseName}; + } + elsif($ENV{BuildSubType} eq "Test") #merge if else in to one after sucuess + { + $LogPath = $ENV{PublishLocation}."\\".$ENV{Type}."\\" .$ENV{BuildNumber}."\\logs\\"; + $PubPath = $ENV{PublishLocation}."\\"."ComponentisedReleases\\TestArchive\\".$ENV{BuildBaseName}; + } + $OUT .=" + + + $PubPath + Build Location + + + $LogPath + Build Logs Location + + "; + --@] +