Work around for not having root access inside Jenkins app container

I installed the stock Jenkins app and a jenkins inbound agent app in TrueNAS , but I could not get the inbound agent to connect to the Jenkins server for the life of me.

I then tried copying a working configuration Jenkins server/agent from docker-compose file into the customer yaml file, and the agent still could not connect on port 50000.

So now I’ve given up on decided to just run the job on the stock Jenkins server, since it should be able to connect to itself :slight_smile: . But it needs additional linux packages installed, and I can’t get root inside the container to install them.

is there a workaround for root access? once the work weeks starts tomorrow, I’m not going to have time to work on this until next weekend. So my fingers are crossed I can solve it today ( evening, where I am located ).

I have no idea how I fixed it, but I added my custom jenkins inbound-agent app back again, and it worked.

I don’t know why it didn’t work for 4-5 hours, but it works now. Thank you to the TrueNAS powers that be!