Jenkins uses MAVEN to appear C:\Windows\system32\config\systemprofile solution

Source: Internet
Author: User

The reason Jenkins uses Maven to appear C:\Windows\system32\config\systemprofile is that the account that the Jenkins service initiated uses the system's account number and is converted into a specific desktop user account in the service.

If your command runs fine on Win command prompt as user ' X ' and then you should run Jenkins with the same user.

This can is achieved by performing following steps:
1. Run > Services.msc (Enter)
2. Select Jenkins Service. Right-click and select Properties
3. Click on Log On tab
4. Select user ' X ' and provide credentials
5. Restart Jenkins

In your case, the user ' X ' seems to being User.Name since the path to AVD as mentioned by/users/user.name/.android

Reference:

Http://stackoverflow.com/questions/25801121/how-to-set-path-in-jenkins-for-directory-having-android-avd

Jenkins uses MAVEN to appear C:\Windows\system32\config\systemprofile solution

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.