Deploy stage not running

James Anderson's Avatar

James Anderson

10 Sep, 2019 08:49 AM


I can't get my build to deploy to my Octopus server. No errors are raised it just doesn't push the packages. I have other builds that push fine. They have a build phase and this build has a build_script phase. I have a feeling that's the issue but I've tried following the docs and I can't get it to push. My appveyor.yml is below:

version: "{build}"

clone_folder: C:\Projects\my_project

  - mssql2016

image: Visual Studio 2017

  account_feed: true

platform: Any CPU
configuration: Release

    secure: MyKey

    - master
    - develop
    - release
    - feature
    - bugfix
    - hotfix

  - C:\Python37\Scripts\pip.exe install -r requirements.txt -q

  - C:\Python37\Python.exe -m PyInstaller source\ --onefile --hiddenimport pyodbc --hiddenimport pymssql --hiddenimport sqlalchemy.ext.baked

  - ps: mkdir packages
  - ps: octo pack --id=my_company.my_project --version="0.1.30" --basePath="$env:APPVEYOR_BUILD_FOLDER\dist\" --outFolder="$env:APPVEYOR_BUILD_FOLDER\packages\"

  - path: \packages\*.nupkg
    name: my_project
    type: OctopusPackage

  - provider: Octopus
    artifact: my_project
    push_packages: true
    create_release: true
    create_release_advanced: --releaseNumber="0.1.30" --packageversion="0.1.30"
    project: "Transfer Benefit"
    environment: Prod
    api_key: $(octoKey)
    push_packages_advanced: --ignoreSslErrors

  1. 1 Posted by James Anderson on 11 Sep, 2019 02:19 PM

    James Anderson's Avatar

    Can anyone help with this?

  2. Support Staff 2 Posted by Owen McDonnell on 11 Sep, 2019 09:22 PM

    Owen McDonnell's Avatar

    Can you please link to the build.

  3. 3 Posted by James Anderson on 16 Sep, 2019 07:47 AM

    James Anderson's Avatar
  4. Support Staff 4 Posted by Owen McDonnell on 16 Sep, 2019 06:19 PM

    Owen McDonnell's Avatar

    Can you try omitting the artifact: key from the deploy: settings and let us know the result.

  5. 5 Posted by James Anderson on 20 Sep, 2019 11:23 AM

    James Anderson's Avatar


    My comments are not getting approved. That didn't make any difference to build. Still didn't push the package. Anything else we can try?

  6. Support Staff 6 Posted by Owen McDonnell on 20 Sep, 2019 03:19 PM

    Owen McDonnell's Avatar

    Can you link to a build that had this change but still did not push the package.

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:


Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac