MSBuild and Jenkins: where to enter credentials?

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:

!

+4
1
  • .sln .csproj . mini-msbuild ( .proj) . ( )

  • " ". .

url , " ".

MSBuild

XML , :

FTP MSBuild.ExtensionPack.Communication.Ftp

"basic msbuild (.proj)". ( )

CC.NET. . hudson/jenkins/cc.net/ . .proj 99% , . CI (jenkins/cc.net/other) "- msbuild"

CruiseControl.net ?

+4

All Articles