buildframework/helium/doc/src/manual/metrics.rst
author jascui
Wed, 17 Nov 2010 13:47:08 +0800
changeset 690 c67de7b29582
parent 645 b8d81fa19e7d
permissions -rw-r--r--
Updating release text
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
587
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
     1
..  ============================================================================ 
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
     2
    Name        : metrics.rst
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
     3
    Part of     : Helium 
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
     4
    
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
     5
    Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
     6
    All rights reserved.
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
     7
    This component and the accompanying materials are made available
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
     8
    under the terms of the License "Eclipse Public License v1.0"
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
     9
    which accompanies this distribution, and is available
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    10
    at the URL "http://www.eclipse.org/legal/epl-v10.html".
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    11
    
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    12
    Initial Contributors:
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    13
    Nokia Corporation - initial contribution.
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    14
    
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    15
    Contributors:
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    16
    
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    17
    Description:
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    18
    
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    19
    ============================================================================
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    20
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    21
####################
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    22
Helium Build Metrics
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    23
####################
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    24
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    25
.. index::
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    26
  module: Helium Build Metrics
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    27
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    28
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    29
.. contents::
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    30
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    31
Introduction
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    32
============
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    33
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    34
This describes the types of build and release metrics that can be collected using Helium and a Diamonds installation and how they can be collected.
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    35
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    36
.. index::
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    37
  single: Diamonds
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    38
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    39
Diamonds Link for builds:
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    40
=========================
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    41
    Diamonds homepage: <http://diamonds.nmp.nokia.com/diamonds>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    42
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    43
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    44
Helium configuration
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    45
====================
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    46
To enable logging to diamonds from Helium one needs to ensure that:
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    47
645
b8d81fa19e7d helium_12.0.0-63b64366f9cf
wbernard
parents: 628
diff changeset
    48
* The properties ``diamonds.host`` and ``diamonds.port`` are set correctly.
587
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    49
* By default they are taken from ``helium/tools/common/companyproperties.ant.xml``, but can be overridden by using:
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    50
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    51
  * **Command line**    
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    52
  
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    53
    For example, if the Diamonds server IP address changed to ``new.diamonds.server:newport`` then you would use:
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    54
    
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    55
    * *hlm.bat -Ddiamonds.host=new.diamonds.server -Ddiamonds.port=newport*
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    56
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    57
  * **ANT team file** 
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    58
   
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    59
    For example, if the Diamonds server IP address changed to ``new.diamonds.server:newport`` then you would put the following lines in your ``<team>.ant.xml``::
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    60
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    61
    <property name="diamonds.host" value="new.diamonds.server"/>*  
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    62
    <property name="diamonds.port" value="newport"/>*
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    63
628
7c4a911dc066 helium_11.0.0-e00f171ca185
wbernard
parents: 587
diff changeset
    64
* If you define the property :hlm-p:`diamonds.enabled` to ``false`` Diamonds is disabled.
587
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    65
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    66
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    67
.. index::
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    68
  single: Diamonds server configuration
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    69
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    70
Diamonds server configuration
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    71
=============================
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    72
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    73
Config file: ``helium/config/diamonds_config.xml.ftl``.
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    74
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    75
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    76
Properties need to be defined for successful logging:
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    77
-----------------------------------------------------
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    78
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    79
 
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    80
.. csv-table:: Diamonds logging related properties
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    81
   :header: "Property name", "Description"
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    82
   
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    83
   "``diamonds.host``", "Diamonds server address"
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    84
   "``diamonds.port``", "Server port number"
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    85
   "``diamonds.path``", "Builds path in Diamonds server"
645
b8d81fa19e7d helium_12.0.0-63b64366f9cf
wbernard
parents: 628
diff changeset
    86
   "``build.family``", "Category of product"
b8d81fa19e7d helium_12.0.0-63b64366f9cf
wbernard
parents: 628
diff changeset
    87
   "``stages``", "Start and end target of a stages with logical stage name"
587
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    88
   ":hlm-p:`sysdef.configurations.list`", "System definition name list to log component faults"
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    89
   ":hlm-p:`build.name`", "Name of product"
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    90
   ":hlm-p:`release.label`", "Name of release"
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    91
   ":hlm-p:`publish`", "Set this property to publish to network"
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    92
   ":hlm-p:`publish.dir`", "Published build environment location"
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    93
   ":hlm-p:`diamonds.build.tags`", "Set this property to send custom build tag(s) to Diamonds"
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    94
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    95
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    96
.. index::
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    97
  single: Metrics
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    98
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    99
Metrics
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   100
=======
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   101
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   102
    
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   103
Metrics name: Build duration
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   104
----------------------------
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   105
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   106
Description
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   107
~~~~~~~~~~~~
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   108
    Build duration in hours as a function of time.
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   109
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   110
Collection method
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   111
~~~~~~~~~~~~~~~~~~~
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   112
    The started time and finished time are uploaded to diamonds automatically from Helium. 
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   113
    
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   114
Location in Diamonds
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   115
~~~~~~~~~~~~~~~~~~~~~~
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   116
    In Diamonds, Builds->Summary.  
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   117
    
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   118
    For categorization by product programs, Build->Click "category" hyperlink. For 
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   119
    categorization by build accelerators, Build->Other->Click "Build system" hyperlink.
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   120
    
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   121
    
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   122
RVCT compiler warnings 
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   123
----------------------
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   124
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   125
Description
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   126
~~~~~~~~~~~
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   127
    Number of build warnings in SW build - RVCT compiler warnings to tell about the quality of the software.
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   128
    
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   129
Collection Method
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   130
~~~~~~~~~~~~~~~~~
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   131
    Number of RVCT bad warnings, warnings and errors are send to diamond aumatically from Helium after each build.
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   132
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   133
Location in Diamonds
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   134
~~~~~~~~~~~~~~~~~~~~~~
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   135
    In Diamonds, Builds->Summary->Compilation error summary.
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   136
    
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   137
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   138
Metrics name: "number of object files" and "number of generated files"
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   139
----------------------------------------------------------------------
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   140
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   141
Description
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   142
~~~~~~~~~~~~
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   143
    Number of object files and generated files for a build    
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   144
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   145
Collection method
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   146
~~~~~~~~~~~~~~~~~~~
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   147
    Necessary data are collected from build information automatically    
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   148
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   149
    Based on helium/config/diamonds_config.xml.ftl cofiguration, Helium automatically sends the start and end time of a stage to diamonds.
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   150
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   151
        
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   152
Location in Diamonds
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   153
~~~~~~~~~~~~~~~~~~~~~~
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   154
    In Diamonds, Builds->Others->Object files & Generated files.  
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   155
   
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   156
   
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   157
Metrics name: Build stage duration
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   158
----------------------------------
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   159
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   160
Description
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   161
~~~~~~~~~~~~
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   162
    Date and time of start and finish. A=Date and time of start B= Date and time of finish.
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   163
    Metric = B-A calculated for each build stages. In the graph only the 4 main stages are shown.\
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   164
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   165
        * *1. pre-build (Synergy check outs and snapshots, build area preparation)*
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   166
        * *2. build (main build)*
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   167
        * *3. post build (Post build, China, Japan, EE images, EE zip,  Localization, Localized roms)*
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   168
        * *4. release to channels (db, ftp, network disk)*
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   169
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   170
Collection method
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   171
~~~~~~~~~~~~~~~~~~~
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   172
    The started time and finished time are uploaded to diamonds automatically from Helium. 
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   173
    
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   174
Location in Diamonds
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   175
~~~~~~~~~~~~~~~~~~~~~~
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   176
    In Diamonds, Builds->Summary. Click "Stages>>"
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   177
    
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   178
    
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   179
Metrics name: API Usage
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   180
----------------------------------
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   181
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   182
Description
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   183
~~~~~~~~~~~~
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   184
    Types of api are private, internal, domain and sdk. Illegal API is (internal+private), if  any illegal api exists it will show the Illegal API's name with path.
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   185
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   186
Collection method
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   187
~~~~~~~~~~~~~~~~~~~
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   188
    If disable.analysis.tool is not set, data will be uploaded to diamonds automatically from Helium. 
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   189
    
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   190
Location in Diamonds
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   191
~~~~~~~~~~~~~~~~~~~~~~
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   192
    In Diamonds, Builds->Other->API usage  
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   193
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   194
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   195
Metrics name: Build tags
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   196
------------------------
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   197
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   198
Description
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   199
~~~~~~~~~~~~
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   200
    Build tags are used to group builds for metric collection purposes.
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   201
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   202
Collection method
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   203
~~~~~~~~~~~~~~~~~~~
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   204
    To send custom build tags to Diamonds the property diamonds.build.tags should be set as follows:
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   205
     * For a single build tag (e.g. "build_tag1") -> hlm -Ddiamonds.build.tags="build_tag1" 
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   206
     * For multiple build tags (e.g. "build_tag1" and "build_tagN") -> hlm -Ddiamonds.build.tags="build_tag1,build_tagN" 
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   207
    
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   208
    Note:
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   209
    * Build tags should not exceed 50 characters.
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   210
    * Duplicate build tags will be ignored. 
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   211
    * If an "Available Tag" is set, then in Diamonds it gets removed from that list and transferred to "Build's Tags" list.
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   212
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   213
Location in Diamonds
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   214
~~~~~~~~~~~~~~~~~~~~~~
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   215
    In Diamonds, Builds->Tags->Build's Tags.  
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   216
    
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   217
    For categorization by tags, Click Builds->"Navigation" pane->"Build Archives"->by tags 
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   218
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   219
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   220
Metrics name: Information about "base environment" 
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   221
--------------------------------------------------
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   222
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   223
Description
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   224
~~~~~~~~~~~~
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   225
    Information about what "base environment" is unzipped.
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   226
    
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   227
Collection method
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   228
~~~~~~~~~~~~~~~~~~~
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   229
    Necessary data are collected from build information automatically if currentRelease.xml exists in the environment. 
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   230
    
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   231
Location in Diamonds
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   232
~~~~~~~~~~~~~~~~~~~~~~
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   233
    In Diamonds, Builds->Content. See "Input" for s60.