I am trying to set up a small continuous integration server using Jenkins, Git and MSBuild.
I have read so many different textbooks on this topic, but I still have so many questions!
I created a Jenkins task that pulls changes from Git and deploys it to another server with MSBuild.
The assembly action calls MSBuild.exe and accepts the following properties:
/p:VisualStudioVersion=12.0
/p:Configuration=Release
/p:Platform="Any CPU"
/p:DeployOnBuild=True
/p:DeployTarget=Test
/p:MsDeployServiceUrl=https://myserver:8172/MsDeploy.axd
/p:AllowUntrustedCertificate=True
/p:UserName=myusername
/p:Password=mypassword
It works happily, but I would like to know more. For example:
- I specify the credentials as properties. Is there a better way to go? Note that the deployment server is external (not on the local network).
- Do I need to use a property
/P:CreatePackageOnPublish=True? If so, why?
So far, I have been trying to follow the following tutorials:
!