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)
- Install and configure easy-jenkins - please refer to preparation.md for details.
- Verify that the Jenkins Dashboard is accessible at
${DOCKER_URL}
(example: http://192.168.99.100:9080/)
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
- Strategy: Log Rotation
- Source Code Management: Git
- Repositories
- Repository URL:
https://github.com/WillyShakes/UdooWtf
- Credentials: - none -
- Branches to build
- Branch Specifier (blank for 'any'):
*/master
- Branch Specifier (blank for 'any'):
- Repository browser: (Auto)
- Repository URL:
- Repositories
- Build Environment
- Build inside a Docker container: Yes
- Docker image to use: Pull docker image from repository
- Image id/tag:
gmacario/android-devenv
- Image id/tag:
- Docker image to use: Pull docker image from repository
- Build inside a Docker container: Yes
- Build
- Execute shell
- Command
- Execute shell
#!/bin/bash -xe
export JAVA_HOME=
chmod a+x gradlew
./gradlew
# EOF
- Post-build Actions
- Archive the artifacts
- Files to archive:
TODO
- Files to archive:
- Archive the artifacts
then click Save
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