Questions tagged [octopus-deploy]

Octopus Deploy is an automated deployment system designed for .NET developers. It also supports other languages/platforms and non-Windows deployment.

Octopus Deploy is an automated deployment system for ASP.NET applications and Windows Services.

Links:

804 questions
0
votes
1 answer

MSI build through octopus

I have generated an MSI using Wix for the deployment we used octopus. While running the msi build through octopus some files like dlls, .. are not getting updated in the respective path for the first time of deployment. If we install the same for…
user1877936
  • 351
  • 3
  • 7
  • 22
0
votes
1 answer

Deploy a Copy of the nupkg to a file share

Is it possible to output/deploy a .nupkg file that is downloaded from a teamcity server. Currently it extracts the .nupkg that is downloaded from the teamcity server. The file that is extracted into the Applications folder is stored in the…
RC1140
  • 8,423
  • 14
  • 48
  • 71
0
votes
1 answer

Octopus-deploy; transform files being deleted

When we ran our deploy from octopus deploy, we failed on our last step. I will include the error message, but the main problem is that it seems to be deleting our transform files. We have the checkbox marked to automatically run configuration…
Cody Elkins
  • 49
  • 1
  • 1
  • 5
0
votes
1 answer

Can I specify the user who is creating a release?

When using create-release can I specify the user who is creating the release independent of the user I'm using to execute octo.exe? The scenario in mind is our build server will begin a build based on a push (and it knows who made the commit), but…
Kevin
  • 429
  • 3
  • 10
0
votes
1 answer

Updating XML node even if it's empty

I've got the following powershell code that updates xml nodes with values from Octopus Deploy. foreach($key in $OctopusParameters.Keys) { $myXPath = "$nodeXPath/$($key.Replace(".", "/"))" try{ $node =…
Chase Florell
  • 46,378
  • 57
  • 186
  • 376
0
votes
2 answers

Project is missing in api (hence octo.exe can't find it)

We're using octo.exe to create releases. It starts suddenly giving error saying can't find project. I checked the api/projects and that's true, it is not in the returned json response. But when I look at the dashboard I can see the project. The only…
Zerdush
  • 13
  • 4
0
votes
1 answer

TeamCity Append/Rename Artifacts For Branches

We have two branches for our solution, a dev and a main branch. We use the built in NuGet feed in TeamCity which is consumed by Octopus Deploy. The problem we have is we have one feed but two build tasks, one that builds the dev branch and…
user351711
  • 3,171
  • 5
  • 39
  • 74
0
votes
1 answer

OctopusDeploy - Every website in the deploy has a different AppPool and Website name; how to deal; no other differences

I'm trying to setup a deploy process that targets 16 web sites each hosting an instance of the same application. Websites and AppPools are named as…
user514005
0
votes
1 answer

Post-Build event not triggered by Octopus & Team City for C# Project

I added a Post-Build scropt to my .csproj. Checked it into TFS. I see Team City builds fine. But when OctoDeploy pushes that nuget package for that build, I do not see that post-build script copying a folder to the bin of that project which is…
PositiveGuy
  • 46,620
  • 110
  • 305
  • 471
0
votes
1 answer

powershell website automatic deployment

We are using TeamCity for builds and Octopus for deployment. Octopus uses Deploy.ps1 powershell script for MVC website deployment to IIS. I am looking for a powershell that can check if website exists and if not create one check if appPool exists…
Rakesh Vasu
  • 155
  • 1
  • 8
0
votes
1 answer

TFS build doesn't generate DLL in Asp.Net MVC project /bin folder

I'm working on Web site project which requires some Unit tests (for controllers, etc). Solution: WebPortal WebPortal.Tests Team Foundation Server is used for gated check in and build of the solution. Deployment is managed by Octopus.…
0
votes
1 answer

Purge locked file by Octopus

We are trying to configure a deployment of ASP.NET application using Octopus deploy. All is working fine, but sometimes the step fails while trying to overwrite files saying the the file is already locked by some other process. We already stop IIS…
Saurabh Kumar
  • 2,329
  • 6
  • 32
  • 52
0
votes
1 answer

Perform deployment step on a single machine when a role has multiple machines in it

I need to run a console app after deployment, but the tool should only be run once per environment. I have two roles defined per environment, DatabaseServer and AppServer. The tool should be run on the AppServer machine. I deploy the console app…
0
votes
1 answer

How to kick start web services after publishing using powershell script or any other way

I am currently using Octopus to publish web services. Is there any way to start the services after publishing it automatically using power shell script or any other way. Thanks
sam
  • 4,594
  • 12
  • 61
  • 111
0
votes
1 answer

Nuspec file not copied to deployed folder

I want my projects nuspec file to be copied over to the published directory. Nuspec file has property set to always copy but still it is not copied to deployed directory. Is there any way to copy it over to the deployed folder as we are updating the…
sam
  • 4,594
  • 12
  • 61
  • 111