I am trying to get my TFS server to build and then publish my application - building it is not a problem but deploying it yields not results.
Quick review of my build config:
- Workspace: Active $/Path/to/solution Build Agent Folder: $(SourceDir)
- Process: Build Any CPU | Staging
- Ms Build args: /p:DeployOnBuild=True /p:DeployTarget=MSDeployPublish /p:MsDeployServiceUrl=https://{host}:8172/msdeploy.axd /p:MsDeployPublishMethod=WMSVC /p:CreatePackageOnPublish=True /p:username= /p:AllowUntrustedCertificate=True
The build agent is using a service account which I have defined as a IIS Manager on the site. Within the project properties I have defined the site name within the Staging configuration (I have been following this vid: https://www.youtube.com/watch?v=oxJUhIQfzlA)
Is the problem I'm having around the user authentication and I should specify the username and password within the MsBuild Args?
Within the MSBuild log, it makes no mention of publishing the application in anyway. Where am I going wrong?
Edit: In an attempt to get a resolution to my problem, I have included some screenshots of the build config - a username and password has been defined with admin privileges on the server