Jenkins running Android Lint and Monkey

Source: Internet
Author: User

Enter the configuration page for the corresponding job.
Lint:
1. Add lint after adding build operations

2. Add the lint standard in the advanced

Monkey
1. Before running monkey, you need to install the APK package to the simulator or mobile phone, adding "Install Android packages" in the Add build step.
When build succeeds, an APK is generated under the corresponding version of the path, for example:

At the same time, Jenkins current project workspace will also produce apk, the path of the APK only one group, each build will be updated after the success, so we fill in the APK file is the path to ensure that every monkey run is the latest apk


Additionally, after the build operation add Archive the artifacts

2. Add Monkey Tester In the increase build operation

Fill in the package name at Packages IDs.
Event count fills in the number of random events
Delay between events Add event interval time (MS)
For example, 1500x200ms, it takes 5 minutes to run the monkey in theory.

Adding monkey result in post-build operations

where filename,
If it's empty, you'll need to create a new file called Monkey.txt in your local project's root directory. Note that the remote engineering code is downloaded and stored locally on the path, not in Jenkins.

Jenkins running Android Lint and Monkey

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.