Skip to content

Latest commit

 

History

History
70 lines (50 loc) · 2.25 KB

building-wtfapp-udooneo.md

File metadata and controls

70 lines (50 loc) · 2.25 KB

Building the WTF Android Application for the UDOO NEO

This document explains how to build from sources the WTF App Android Application for the UDOO Neo using easy-jenkins.

The following instructions were tested on

  • Docker client: mac-tizy (HW: MacBook Pro; SW: OS X 10.11.3, Docker Toolbox 10.0)
  • Docker engine: mv-linux-powerhorse (HW: HP xw8600 Workstation, SW: Ubuntu 14.04.4 LTS 64-bit, Docker 1.10.0)

Preparation

Step-by-step instructions

Configure project build_wtfapp_udooneo

Browse ${JENKINS_URL}, then click New Item

  • Item name: build_wtfapp_udooneo
  • Type: Freestyle project

then click OK.

Inside the project configuration page, fill-in the following information:

  • Discard Old Builds: Yes
    • Strategy: Log Rotation
      • Days to keep builds: (none)
      • Max # of builds to keep: 2
  • Source Code Management: Git
    • Repositories
      • Repository URL: https://github.com/WillyShakes/UdooWtf
      • Credentials: - none -
      • Branches to build
        • Branch Specifier (blank for 'any'): */master
      • Repository browser: (Auto)
  • Build Environment
    • Build inside a Docker container: Yes
      • Docker image to use: Pull docker image from repository
        • Image id/tag: gmacario/android-devenv
  • Build
    • Execute shell
      • Command
#!/bin/bash -xe

export JAVA_HOME=
chmod a+x gradlew
./gradlew

# EOF
  • Post-build Actions
    • Archive the artifacts
      • Files to archive: TODO

then click Save

Build project build_wtfapp_udooneo

Browse ${JENKINS_URL}/job/build_wtfapp_udooneo, then click Build Now

You may watch the build logs at ${JENKINS_URL}/job/build_wtfapp_udooneo/lastBuild/console