equal
deleted
inserted
replaced
1 [@--# Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 # All rights reserved. |
|
3 # This component and the accompanying materials are made available |
|
4 # under the terms of "Eclipse Public License v1.0" |
|
5 # which accompanies this distribution, and is available |
|
6 # at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 # |
|
8 # Initial Contributors: |
|
9 # Nokia Corporation - initial contribution. |
|
10 # |
|
11 # Contributors: |
|
12 # |
|
13 # Description: |
|
14 # Template processed by GenDiamondsXml.pm |
|
15 # |
|
16 #--@] |
|
17 <?xml version="1.0" encoding="utf-8"?> |
|
18 <diamonds-build> |
|
19 <schema>[@--$ENV{DiamondsSchemaNum}--@]</schema> |
|
20 [@-- |
|
21 my $PubPath = ""; |
|
22 my $LogPath = ""; |
|
23 if($ENV{BuildSubType} eq "Daily") |
|
24 { |
|
25 $LogPath = $ENV{PublishLocation}."\\".$ENV{Type}."\\" .$ENV{BuildNumber}."\\logs\\"; |
|
26 $PubPath = $ENV{PublishLocation}."\\"."ComponentisedReleases\\DailyBuildArchive\\".$ENV{BuildBaseName}; |
|
27 } |
|
28 elsif($ENV{BuildSubType} eq "Test") #merge if else in to one after sucuess |
|
29 { |
|
30 $LogPath = $ENV{PublishLocation}."\\".$ENV{Type}."\\" .$ENV{BuildNumber}."\\logs\\"; |
|
31 $PubPath = $ENV{PublishLocation}."\\"."ComponentisedReleases\\TestArchive\\".$ENV{BuildBaseName}; |
|
32 } |
|
33 $OUT .=" |
|
34 <locations> |
|
35 <location> |
|
36 <link>$PubPath</link> |
|
37 <description>Build Location</description> |
|
38 </location> |
|
39 <location> |
|
40 <link>$LogPath</link> |
|
41 <description>Build Logs Location</description> |
|
42 </location> |
|
43 </locations>"; |
|
44 --@] |
|
45 </diamonds-build> |
|