Changes between Version 10 and Version 11 of programmersguide/jenkins/jobs


Ignore:
Timestamp:
02/15/17 13:58:38 (10 years ago)
Author:
raphael.costa
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • programmersguide/jenkins/jobs

    v10 v11  
    1 = Jenkins: Continuous Integration = 
    2  
    3 == Jobs == 
    4  
    5 === Linux Ubuntu 14.04 === 
    6  
    7  
    8 === MacOS El Captain === 
    9  
    10  
    11 === Windows 10 === 
    12 TODO 
    13  
    14 == Daily Builds == 
    15  
    16 === Package Generator Ubuntu === 
    17  
    18 * Clique em '''New Item'''; 
    19 * Preencha o campo '''Item Name'''. Exemplo: **terrama2-build-master**; 
    20 * Selecione a opção '''Free-style project'''; 
    21 * Clique em '''OK'''; 
    22 * Informe uma '''Description''' para o projeto de build: **Build TerraMA²**. 
    23 * Selecione '''Git''' no tópico Gerenciamento de código fonte. 
    24   * Em '''Repository URL''' aponte para: https://github.com/TerraMA2/terrama2.git; 
    25   * Em '''Branches to build''' aponte para **master**; 
    26 * Na opção '''Build Triggers''', escolha a opção '''Build periodically''' e coloque a expressão: '''H 22 * * * *''' Representa que será disparado **toda noite as 10h**. 
    27 * Em '''Build''', selecione '''CMake Build''' e informe o seguinte: 
    28   * '''Buildscript Generator''': Unix Makefiles. 
    29   * '''Source Directory''': build/cmake 
    30   * '''Build Type''': Release 
    31   * '''Build Directory''': solution 
    32   * Em '''Advanced''' entre com os seguinte argumento: **$WORKSPACE/packages/debian-package/terrama2.conf.cmake** 
    33  
    34 * Em '''Build step''', adicione '''Execute bash''' e rode o seguinte comando: 
    35 {{{ 
    36 cd solution 
    37 LD_LIBRARY_PATH=`pwd`/bin make package -j 4 
    38 }}} 
    39  
    40 * Em '''Post Build Step''', selecione '''Trigger builds projects''': 
    41   * Preencha o job de test de instalador: '''terrama2-installer-linux-ubuntu-14.04'''; 
    42   * Em '''Parameters''', selecione '''Predefined''' e deixe vazio. É importante caso contrario, o job não será disparado; 
    43  
    44 ==== Testing Installer ==== 
    45  
    46 The debian package generated by daily build is uploaded to a clean [docker container] with following packages: 
    47   - !TerraLib 5.2 (/opt/terralib/5.2.0); 
    48   - NodeJS 4.5; 
    49   - PostgreSQL 9.3 (user **postgres** configured with **postgres** password); 
    50   - PostGIS 2.1; 
    51  
    52 See docker image in [https://hub.docker.com/r/raphaelwcosta/ubuntu-14.04-terrama2-beta1/ TerraMA² Docker Beta1] 
    53  
    54  
    55 = References =