Home > Software design >  Azure DevOps deployment groups agents installation with error message
Azure DevOps deployment groups agents installation with error message

Time:06-09

I try to create a release pipeline to copy my .jar file to the target machine (Windows VM). I follow the enter image description here

It works fine on most VMs, however, some VMs setting up agents with error (but the installation seems to be successful, I can find the machines on Azure DevOps). Here is the log: enter image description here

I have checked that all the user accounts shown on Azure DevOps deployment group are admin permission in each VM.

Any suggestion is appreciated. Thanks in prior

[Update1] I set the path like this enter image description here

I login the VM with same account, and I can see that path. enter image description here

I also try to downgrade "copy file to target machine" to version "1.*", still no luck enter image description here

CodePudding user response:

That's access related error. Check which account is your agent using, in deployment groups.

Can either reconfigure that account to be system account with all the privileges or give that account (used by agent) read and write privileges in that folder you making the copy.

CodePudding user response:

The task error is not related to the agent, the agent is configured and started to run.

You are using UNC path for the Destination Folder, please login the agent machine with the user which is same in your task, check if the UNC path can be accessed. enter image description here enter image description here

If not, please check if you have shared the Drive on the target machine, and make sure the account has write permission.

enter image description here

It's working fine on my side with UNC path:

enter image description here

It's recommended to use a local path(eg: cL\testcopy) for the Destination folder for a test firstly, it will make sure the account&Password, IP/FQDN are fine and the account has enough permission to work on target machine.

  • Related