Jenkins is an open source project that provides an easy-to-use continuous integration system that frees developers from the complexity of integration to focus on the more important implementation of business logic. Please refer to Jenkins for details.

## Jenkins install configuration

The installation

There are many ways to install Jenkins, this paper adopts Homebrew installation.

  • Homebrew must be installed in advance. For details on how to install homebrew, refer to the Tutorial on How to Install Homebrew on MAC.
  • Brew Install Jenkins: Run the homebrewm command
  • Permission problems (such as user groups, speaking, reading and writing scripts specific reference [Mac Jenkins permission problems] (www.cnblogs.com/ihojin/p/je… Jenkins permissions problem “)) sudo chown root/usr/local/Cellar/Jenkins / 2.122 / homebrew MXCL. Jenkins. Plist
  • Brew services start Jenkins Jenkins opens a browser and typehttp://localhost:8080

    Login account

    The password for

#### Creating a user

###Jenkins Project configuration

1 Installing plug-ins

  • Changelog Environment Plugin (Git Submission record)
  • Upload to pgyer

####2 Related configurations

  • Android SDK path ANDROID_HOME

  • The JDK configuration

  • Gradle configuration

Project configuration

1 New Project

2 Parameterized build (Git branch package type Debug Release)

3 Obtaining git code (configuring gitlab account)

Gradle packages configuration

5 Upload dandelions