octopus-deploy

Cannot add part for the specified URI because it is already in the package

ぐ巨炮叔叔 提交于 2019-12-05 03:36:13
I am using NUGET Pack in teamcity to build a package. But it is creating the following error. I am using nuget teamcity version 2.2.1. Step 2/2: Build Package (NuGet Pack) (14s) [12:10:40][Step 2/2] Cleaning Z:\hgbuilds\IT\Build\packages [12:10:40][Step 2/2] pack: Create NuGet package from UI\UI.Tour\UI.Tour.Web\UI.Tour.Web.csproj (14s) [12:10:40][pack] NuGet command: C:\BuildAgent\tools\NuGet.CommandLine.2.2.1.nupkg\tools\NuGet.exe pack Z:\hgbuilds\IT\UI\UI.Tour\UI.Tour.Web\Calrom.UI.InclusiveTour.Web.csproj -OutputDirectory Z:\hgbuilds\IT\Build\packages -BasePath Z:\hgbuilds\IT -Verbose

Powershell in NonInteractive mode

柔情痞子 提交于 2019-12-04 22:47:55
I use Octopus for our deployments. I have a problem with one of the Powershell scripts to control the deployment: # stops running processes $processes = @("Notepad", "Firefox") foreach ($process in $processes) { $prc = Get-Process -Name $process -ErrorAction SilentlyContinue if (-not($prc -eq $null)) { Write-Host "Stopping " $prc.ProcessName Stop-Process -InputObject $prc -ErrorAction SilentlyContinue } } The programs I try to stop are not the ones you see in the script above, but they represent what I am trying to do. Now the problem I have with it, is that it works well on one server, but

How to start Docker daemon (windows service) at startup without the need to log-in?

此生再无相见时 提交于 2019-12-04 09:38:45
问题 We have Docker for Windows installed on a Windows Server 2016 Datacenter box. We use this box as a build agent for our docker containers. When we try to connect to this box via the daemon to build a container, we get an error message indicating the daemon is not running (at end of post). However, if I login to this box using my AD Account, the daemon starts, runs, and then I can connect and do everything I need to do. Is there a way to make daemon start at boot without requiring the user to

Octopus and Continuous Integration - What's the best practice around when a release should be created?

亡梦爱人 提交于 2019-12-04 08:46:03
问题 On a current project we are using Teamcity and Octopus for building and deploying our IIS app. We have 4 environments. The CI Environment (automated build on checkin, runs unit tests, and automated QA tests), and the QA, UAT, and Prod Environments (which we push to manually using Octopus). On local (dev) builds, the default build script pushes directly to a local Octopus instance for testing purposes. Would it be better practice to have the CI build (which runs quite frequently) to follow a

How to deploy azure webjob using Octopus

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-03 22:23:13
问题 How to deploy azure webjob using Octopus deployment? For me, octopus says it is deployed to azure but not able to see my webjob under the website. Can anyone help how to achieve this? 回答1: There is a documentation on how to deploy a web job from octopus Azure Web Apps. I was using Octopus Deploy 3.0 and in my case, I only wanted to deploy a webjob without a web app: I've chosen Azure Web App Deployment Target: And in the deployment section, specify the physical path. For continuous job you

Octopus deployment from Teamcity not using the latest packages

冷暖自知 提交于 2019-12-03 08:32:06
问题 I have set up a build step on TeamCity,as described here, to do automatic release deployments to our test server. But it is not using the latest nuget packages that was build in TeamCity. Use Case : Teamcity will create nuget package with version 1.0.0.9, all the dlls that is in the package is the correct version, and the Release in Octopus, that was deployed has got the same version number , but the packages that octopus uses is of an earlier package eg 1.0.0.5. I have specified the --force

Octopus and Continuous Integration - What's the best practice around when a release should be created?

我怕爱的太早我们不能终老 提交于 2019-12-03 00:44:00
On a current project we are using Teamcity and Octopus for building and deploying our IIS app. We have 4 environments. The CI Environment (automated build on checkin, runs unit tests, and automated QA tests), and the QA, UAT, and Prod Environments (which we push to manually using Octopus). On local (dev) builds, the default build script pushes directly to a local Octopus instance for testing purposes. Would it be better practice to have the CI build (which runs quite frequently) to follow a similar model as the local build (and push directly to a Tentacle instance, instead of through the

Octopus deployment from Teamcity not using the latest packages

Deadly 提交于 2019-12-03 00:01:45
I have set up a build step on TeamCity,as described here , to do automatic release deployments to our test server. But it is not using the latest nuget packages that was build in TeamCity. Use Case : Teamcity will create nuget package with version 1.0.0.9, all the dlls that is in the package is the correct version, and the Release in Octopus, that was deployed has got the same version number , but the packages that octopus uses is of an earlier package eg 1.0.0.5. I have specified the --force parameter on the build step so it should use the latest packages but it is not. If I manually create a

How to add a folder to a nuspec file

吃可爱长大的小学妹 提交于 2019-11-29 01:07:23
So I'm actually trying to package up a web site project (not web application so no csproj file) into a NuGet package ready for Octopus to consume but am running into one brick wall after another.. I looked into using OctoPack but it doesn't support web site projects only web application projects. I am now trying to find a way of adding a folder (in my case a web site) into a Nuget package but Nuget doesn't allow this via the command line does it? It also requires a .csproj file! I've also tried trying to create the NuGet spec files and pass it in a folder but not possible? For the moment I may

How to get IIS site to start up automatically after deployment?

一个人想着一个人 提交于 2019-11-28 03:28:09
问题 I have a Web API service that I'm deploying to my various environments (using Octopus Deploy). It is supposed to do various tasks on startup, e.g. run any migration scripts required by Entity Framework Code First, and some background tasks managed by Hangfire. Trouble is, the web site only wakes up the first time someone makes a call to it. I want it to run as soon as I've deployed it. I could do it manually just by pointing a web browser at the API's home page, but that requires me to