Used a self-hosted agent for building sample java but getting ##[error]Unhandled: EPERM: operation not permitted, stat 'C:\\Users\\DELL\\Downloads\\apache-maven-3.6.3\\bin\\mvn.cmd'
Please help me troubleshoot this error :
This issue was resolved. The root cause was due to authentication issue.
I was using a self-hosted agent and my Maven was asking for authentication but it was unable to autheniticate.
How I resolved this error :
I installed maven in D drive and changed the env variables such that it points to D drive then it worked fine.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.