Hi all,
We just upgraded to tfs 2015 on premises and I’m playing with the new build options. I got a few question and I do need some confirmations so I understand correctly what is happening.
resources:
I pulled OctoTfs from https://github.com/OctopusDeploy/OctoTFS, and installed it on Tfs (does show up under \tasks in my agent)
What did I do:
a. Made a new build defintion
c. added : Msbuild step
tested it … works no errors
d. Added “Create Octopus Release”
tested it works no errors;
Ok now the question:
-
I do still need “/p:RunOctoPack=true /p:OctoPackPublishPackageToHttp … etc” in my MSBuild Argument to have the packages actually been pushed to octoups (the Create Octopus Release, does nothing for that)
-
I need to disable “automatic release creation” else I have 2 releases triggered (one from octopack and one from create octo release? That is correct yes?
I run into one problem:
The totally great feature is of course being able to add the comments + works items.
But:
When i check them. I do get a:
Executing the powershell script: D:\Agent\tasks\OctopusCreateRelease\0.1.2\Octopus-CreateRelease.ps1
The remote server returned an error: (401) Unauthorized.
I presume this is coming from tfs, which disallows the build user, which is rather curious because the build account can get all the files.
Any pointers in what to do about this?
Thanks!
–jw