I’m in the process of installing a Team Foundation Server (TFS) build agent onto a Ubuntu server in Azure. The Ubuntu server is running 16.04.2 LTS. The TFS server is running TFS 2017 update 1. The TFS server is on premise. I’m using the Deploy an agent on Linux documentation (https://www.visualstudio.com/en-us/docs/build/actions/agents/v2-linux) as a guide. I have very little experience with Linux, so please bear with me.
Here are my questions.
I want to setup the build agent to run as a service on the Ubuntu server. I assume I need to create a local account that the service will run under. What do I need to do to enable the on premise TFS server to fire a build using the agent on the Azure Ubuntu server? Or will this just work once the build agent is registered with the on premise TFS server?
When the build is complete, the output from the build needs to be copied back to an on premise network file location. What steps do I need to complete to allow the build agent running under the Ubuntu account to connect to the on premise file system?