Jenkins 使用 maven 出现C:\Windows\system32\config\systemprofile的解决
jenkins 使用 maven 出現(xiàn) C:\Windows\system32\config\systemprofile 的原因是 Jenkins 服務(wù)啟動(dòng)的賬號(hào)使用了系統(tǒng)的賬號(hào),在服務(wù)里改成具體的桌面用戶賬號(hào)即可。
If your command runs fine on Win command prompt as user 'X', then you should run Jenkins with the same user.
This can be 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 be?user.name?since the path to AVD as mentioned by you is?/users/user.name/.android
參考:
http://stackoverflow.com/questions/25801121/how-to-set-path-in-jenkins-for-directory-having-android-avd
轉(zhuǎn)載于:https://www.cnblogs.com/luodengxiong/p/5626246.html
總結(jié)
以上是生活随笔為你收集整理的Jenkins 使用 maven 出现C:\Windows\system32\config\systemprofile的解决的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。
                            
                        - 上一篇: 《MOSSE》简述
 - 下一篇: 深度学习第三次课-梯度下降与反向传播