Hi everyone,

Recently, I have upgraded the gocd to version 19.7.0. go-server is on linux 
OS is upgraded successfully. And one of the go-agent is macOS, so I have 
followed the instruction 
in https://docs.gocd.org/current/installation/install/agent/osx.html to 
upgrade the agent with the zip file mentioned in the downloads link 
<https://gocd.github.io/gocd-plugin-info/gocd-releases>. 

The previous go-agent version in macOS is 18.3 which is in app format which 
I have uninstalled to install 19.7.0 version.
mac OS version - BigSur (11.5)
java version - 11.0.3

Go-agent installation steps:
The zip file is moved to /Users/<user>/Library/Application Support/Go Agent 
and made changes to wrapper-properties.conf file then ran the following 
steps as the non-root user:

xattr -d -r com.apple.quarantine .
sudo ./bin/go-agent install  
sudo ./bin/go-agent start
        -   (Using sudo because it is showing the error - *need to be root 
to run this command*)

I am able to upgrade the go-agent in macOS and the agent is also getting 
connected to the go-server. But, when running the pipelines, it is using 
the root user. I need help in making the pipelines to run as a non-root 
user. Also, I would like to know what went wrong?

Thanks for the help in advance,
Samhitha.

-- 
You received this message because you are subscribed to the Google Groups 
"go-cd" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/go-cd/382cf54c-ad99-4436-8835-3be7a59d406an%40googlegroups.com.

Reply via email to