| Version 12 (modified by raphael.costa, 9 years ago) (diff) |
|---|
Jenkins: Continuous Integration
Jobs
Linux Ubuntu 14.04
MacOS El Captain
Windows 10
TODO
Daily Builds
Package Generator Ubuntu
- Clique em New Item;
- Preencha o campo Item Name. Exemplo: terrama2-build-master;
- Selecione a opção Free-style project;
- Clique em OK;
- Informe uma Description para o projeto de build: Build TerraMA².
- Selecione Git no tópico Gerenciamento de código fonte.
- Em Repository URL aponte para: https://github.com/TerraMA2/terrama2.git;
- Em Branches to build aponte para master;
- 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.
- Em Build, selecione CMake Build e informe o seguinte:
- Buildscript Generator: Unix Makefiles.
- Source Directory: build/cmake
- Build Type: Release
- Build Directory: solution
- Em Advanced entre com os seguinte argumento: $WORKSPACE/packages/debian-package/terrama2.conf.cmake
- Em Build step, adicione Execute bash e rode o seguinte comando:
cd solution LD_LIBRARY_PATH=`pwd`/bin make package -j 4
- Em Post Build Step, selecione Trigger builds projects:
- Preencha o job de test de instalador: terrama2-installer-linux-ubuntu-14.04;
- Em Parameters, selecione Predefined e deixe vazio. É importante caso contrario, o job não será disparado;
Testing Installer
The debian package generated by daily build is uploaded to a clean [docker container] with following packages:
- TerraLib 5.2 (/opt/terralib/5.2.0);
- NodeJS 4.5;
- PostgreSQL 9.3 (user postgres configured with postgres password);
- PostGIS 2.1;
See docker image in TerraMA² Docker Beta1
