Questions tagged [octopack]

Octopus Deploy tool to create nuget packages of your builds.

From Using OctoPack

The easiest way to package your applications from your continuous integration/automated build process is to use OctoPack. OctoPack adds a custom MSBuild target that hooks into the build process of your solution. When enabled, OctoPack will package your Windows Service and ASP.NET applications when MSBuild runs. This makes it easy to integrate OctoPack with your build server - as long as you can pass properties to MSBuild, you can use OctoPack.

41 questions
1
vote
1 answer

octopack nuget package version

My nupkg file seem to version 1.0.0.0 no matter what I did. I want to specify the version of the package using the version element inside my nuspec file as follow.
VietRoadie
  • 179
  • 3
  • 11
1
vote
1 answer

TFS2017 - NuGet push with octopack credentials

I'm having issues with pushing my packages to our internal NuGet feed that I created using TFS2017 packages tab. I'm getting the following error: 2017-04-05T09:08:24.8336348Z 6>OctoPack: 2017-04-05T09:08:24.8336348Z Please provide…
Tim Ververs
  • 527
  • 9
  • 23
1
vote
2 answers

Octopack won't package ng build output when there are subfolders

The gulp-octo version here is 0.0.10, which is no longer the current version. This may or may not apply to the newer versions The angular-cli command ng-build builds my angular app into a /dist folder. I end up with a flat dist folder, containing my…
Nathan Cooper
  • 6,262
  • 4
  • 36
  • 75
1
vote
0 answers

"replacement token has no value" when using NuGet replacement tokens with Octopack

NuGet allows for a standard set of replacement tokens to be used within a nuspec file nut these tokens don't seem to work when using Octopack, my build fails with the error: The replacement token 'id' has no value. I've done some Googling and…
Greg B
  • 14,597
  • 18
  • 87
  • 141
1
vote
0 answers

Octopus Nuget Push error: IOException: Unable to write data to the transport connection:

I am using Bamboo as build server and Octopus deploy for Deployment. I am using their command line tool, Octo.exe to create and push nuget packages to the server. It was working fine. But we started getting errors which were intermittent at first…
Ajay Bhasy
  • 1,920
  • 1
  • 26
  • 38
1
vote
1 answer

TeamCity - no artifacts generated with Octopus Deploy / Octopack

I have a Visual Studio project, that's set up in TeamCity with a build-task to create artifacts via OctoPack (3.0.43). Next, a deploy-task, that receives the output NuGet-package from the build-task task (on successful build) as a dependency. I've…
Frederik Struck-Schøning
  • 12,981
  • 8
  • 59
  • 68
1
vote
1 answer

Octopack is not packing when using custom nuspec file

I am attempting to configure an octopus deployment build in TFS. It was working okay initially, as in it would build, package up using octopack and deploy. However i want to configure what files get packed and realised that I need to use a custom…
4imble
  • 13,979
  • 15
  • 70
  • 125
1
vote
1 answer

Octopack packaging windows service as if it were a web site

I have a windows service which contains the necessary components to allow it to render razor templates. This service listens on a message queue and sends emails, using the razor templates to generate rich html. Everything is working fine, however,…
Simon
  • 2,810
  • 2
  • 18
  • 23
0
votes
1 answer

How to exclude directory and files from NuGet package built with Octopack via Jenkins?

I have a windows service that I need to pack into a nuget package with OctoPack, but I have to exclude a directory called "Config" and a few other config files (these are instance specific and this will be deployed to multiple instances.) However…
RossD
  • 620
  • 2
  • 6
  • 13
0
votes
0 answers

How to deploy a ASP.NET Web Application + ASP.NET Web API to a single Web App resource on Azure

I am trying to automate the deployment process of an old project to use octopus to deploy to azure. The solution has two projects, one classic ASP.NET Web Application and one Web API, these were previously deployed to a single Web App resource. I…
0
votes
1 answer

How vs2017-MVC project package create automatically with octopack

Actually, the octopus server installed on my local machine, I don't want to use Build Automation tools like TeamCity, TFS, or 3rd party tools like Nant. we use MSBuild. New in octopus deploy, looking for idea how to get the package version unique…
shamim
  • 6,640
  • 20
  • 85
  • 151
0
votes
1 answer

Explicitly set the order of build targets defined in NuGet packages

I have a Visual Studio 2017 project for building an Azure Function App. This project contains (amongst others) two NuGet packages - Microsoft.NET.Sdk.Functions and OctoPack. The packages are referenced in this order by the .csproj file for the…
David Gard
  • 11,225
  • 36
  • 115
  • 227
0
votes
1 answer

How can I get the version number to display in Layout from currently built Octpack nupkg?

Below are the steps taking place OctoPack: Attempting to build package from 'MySoltuion.MyProject.nuspec'. OctoPack: Successfully created package 'C:\pathToMySolution\MyProject\obj\octopacked\MyProject.2018.03.26.6654.nupkg'. OctoPack: OctoPack…
amansinghgusain
  • 764
  • 5
  • 17
0
votes
1 answer

Nuget package of whole Habitat solution

We are following Habitat Struture which has three layers Feature,Foundation and Projects.So,all the Projects can generate separate .Nuget package using Octo pack but Can we create Nuget Package of whole solution like we publish all projects together…
Priya.D
  • 111
  • 9
0
votes
2 answers

How to execute Octo.exe from VSTS?

I wish to execute Octo.exe from a powershell script on VSTS. Like this Octo.exe push --package $_.FullName --replace-existing --server https://deploy.mydomain.com --apiKey API-xxxxxxxx But I don´t know the correct path for Octo.exe or if it is…
Jepzen
  • 2,942
  • 6
  • 40
  • 62