Run Android lint and monkey in Jenkins

Source: Internet
Author: User

Run Android lint and monkey in Jenkins

Go to the configuration page of the corresponding job.
Lint:
1. Add lint in the Add build operation

2. Add lint pass standards in advanced

Monkey
1. Before running the monkey, install the apk package created this time on the simulator or mobile phone, and add "install Android package" in the Add build step.
After the build is successful, the apk will be generated under the path of the corresponding version, for example:

At the same time, what is the wZ metadata of the current jenkins project? Http://www.bkjia.com/kf/ware/vc/ "target =" _ blank "class =" keylink "> alias/nS1M7Sw8fU2kFQSyBmaWxl1tDM7tC0tcS + alias =" here write picture description "src =" http://www.bkjia.com/uploads/allimg/160421/04243R222-3.png "title =" \ "/>

In addition, add Archive the artifacts after the build

2. Add the monkey tester in the Add build operation.

Enter the package name in Packages IDs.
Event Count: number of random events
Delay between events add event interval (MS)
For example, 1500x200 ms, it takes 5 minutes to theoretically finish the monkey operation.

Add the monkey result in the Post-build operation.

Filename,
If you are empty, create a file named monkey.txt in the root directory of your project. Note that the local path where the remote project code is downloaded is not the Jenkins path.

Related Article

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.