Linux under Jenkins Pack apk

Source: Internet
Author: User

The development of Android often requires: development environment, test environment and production environment test our application in three environments, often encounter such a situation, testers find developers say, can give me a XX environment of the package, I need to test, sometimes busy development can't pack in time, Using Jenkins+svn+gradle to build Android apps, it's easy to get it done with one click.
Jenkins on the test JAVA,SVN plug-ins are available, only need to increase the Gradle plugin.
There are many ANDROID-SDK installation methods online.

    • (completed in conjunction with development):

    • Jenkins on ANDROID-SDK configuration:

    • Jenkins on Gradle configuration:

    • Jenkins on JDK configuration:

    • Gradle configuration in the project:

Problems encountered:
1. After deleting the OPENJDK, the Jenkins Launcher reported the following error:
Starting Jenkins bash:/usr/bin/java:no such file or directory
Modify the Jenkins startup configuration file to specify the Java installation path.
Vim/etc/init.d/jenkins

2. The system is glibc-2.14 need 2.14 support when centos6.5 is built.
Upgrade glibc-2.14:
wget http://ftp.gnu.org/gnu/glibc/glibc-2.14.tar.gz
wget http://ftp.gnu.org/gnu/glibc/glibc-ports-2.14.tar.gz
TAR-XVF glibc-2.14.tar.gz
TAR-XVF glibc-ports-2.14.tar.gz
MV glibc-ports-2.14 Glibc-2.14/ports
mkdir Glibc-2.14/build
CD Glibc-2.14/build
.. /configure--prefix=/usr--disable-profile--enable-add-ons--with-headers=/usr/include--with-binutils=/usr/bin
Make
Make install

Above completion without error, check the library file, found/lib64/libc.so.6 soft link to 2.14 version
Ll/lib64/libc.so.6

3.ANDROID-SDK needs to be built with Jenkins authorization.
4. This must be selected or not get the variable

Linux under Jenkins Pack apk

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.