SHIFT

--- Sjoerd Hooft's InFormation Technology ---

User Tools

Site Tools


tfs2018
Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
tfs2018 [2019/04/24 13:13]
sjoerd [Build Agent]
tfs2018 [2019/07/09 12:00] (current)
sjoerd [Reinstall Agent]
Line 14: Line 14:
  
 > After the setup is complete we'll create a CI/CD pipeline in which we create a website portal that will be hosted on the TFS server that will provide information regarding the various environments:​ [[tfsbuildrelease]] > After the setup is complete we'll create a CI/CD pipeline in which we create a website portal that will be hosted on the TFS server that will provide information regarding the various environments:​ [[tfsbuildrelease]]
 +
 +> And after that we'll take it further and create a build pipeline for creating a new Virtual Machine using SCVMM: [[tfsscvmmnewvm]]
  
 > This article assumes a new project is already created in TFS.  > This article assumes a new project is already created in TFS. 
Line 38: Line 40:
 ** Scroll down and click Create Token ** Scroll down and click Create Token
 ** Note the token provided immediately,​ once you leave the page it will never be shown again  ** Note the token provided immediately,​ once you leave the page it will never be shown again 
-Click Download Agent so a new window opens, with a highover description on how to install the agent+Go back to the Agent Pools and click "Download Agent" ​so a new window opens, with a highover description on how to install the agent
 * Download the agent from: https://​go.microsoft.com/​fwlink/?​linkid=867184 and save it to a location (for example D:\Install) * Download the agent from: https://​go.microsoft.com/​fwlink/?​linkid=867184 and save it to a location (for example D:\Install)
 * Create the directory C:\agent and enter it from a powershell commandprompt {{{mkdir agent ; cd agent}}} * Create the directory C:\agent and enter it from a powershell commandprompt {{{mkdir agent ; cd agent}}}
Line 77: Line 79:
 > Note: Even though the requirements don't mention it, to configure the agent it needs a FQDN for the server. I tried it with an IP address but it didn't work, after adding the TFS server hostname to the hosts file it worked. ​ > Note: Even though the requirements don't mention it, to configure the agent it needs a FQDN for the server. I tried it with an IP address but it didn't work, after adding the TFS server hostname to the hosts file it worked. ​
  
 +== Reinstall Build Agent ==
 +There is no built-in option for reinstalling the agent. You should remove the agent using the {{{c:​\agent\config.cmd remove}}} commmand as an administrator and then reinstall the agent as described above. Note that you'll also need a PAT token for removing the agent. ​
  
 == Some PAT Notes == == Some PAT Notes ==
Line 173: Line 177:
  
 Now all the software is installed and connectivity is in place we can create a CI/CD pipeline. See [[tfsbuildrelease]] Now all the software is installed and connectivity is in place we can create a CI/CD pipeline. See [[tfsbuildrelease]]
 +\\
 +Or we create a new VM, see [[tfsscvmmnewvm]]
 +
  
 = Resources = = Resources =
tfs2018.1556104409.txt.gz ยท Last modified: 2019/04/24 13:13 by sjoerd