Good, I would like you to help me with the Jenkins continuous integration tool, but above all the problem I have is with the msbuild. I have a web in asp with nuget packages that in the VS compiles and publishes perfectly nevertheless with the MSbuild and Jenkins compiles me well but when publishing I keep files not necessary any suggestions Thank you!
Nuget Packages:
C:\nuget\nuget.exe restore .\GnossWeb\
Compilation
/t:build /tv:14.0 /m
Publication:
/t:rebuild /p:VisualStudioVersion=14.0 /p:configuration=Debug /p:Targets=Publish /p:DeployOnBuild=true
Also try this:
/p:Configuration=Release
/p:DeployOnBuild=True
/p:DeployDefaultTarget=WebPublish
/p:WebPublishMethod=FileSystem
/p:DeleteExistingFiles=True
All the above with the msbuild