2

I'm trying deploy self-hosted agent on my mac os machine. I downloaded agent archive and unpacked it. All attempts to run config.sh failed with an error:

config.sh: line 85: ./bin/Agent.Listener: No such file or directory

enter image description here

Have no idea where I did a mistake.

UPD First time I got another error message, but only one time.

agent.listener cannot be opened because the developer cannot be verified

enter image description here

Сергей
  • 780
  • 4
  • 13
  • 31

2 Answers2

9

try running command sudo spctl --master-disable

maruti060385
  • 707
  • 8
  • 11
2

Ok, I found the answer. I had to configure Security & Privacy, but now it workes fine.

enter image description here

Сергей
  • 780
  • 4
  • 13
  • 31
  • 1
    This created one permission loop after another for my case to enable devops agent. Hence I had to go with first answer to disable the gatekeeper completely and then enable it back once configuration was done. – Jainam Jhaveri Oct 16 '22 at 07:18