Script module files not cleaned up after release

chris.jones's Avatar


08 Nov, 2017 01:28 PM


Currently using Octopus Deploy version 3.17.9

Recently we have noticed that Script modules (psm1 files) are not cleaned up from the install directory after each release.
We don't purge the install directory, so they are starting to build up now.

Is this a change of behaviour?


  1. Support Staff 1 Posted by Henrik Andersso... on 08 Nov, 2017 10:58 PM

    Henrik Andersson's Avatar

    Hi Chris,

    This was fixed in 3.17.12 and was a bug that was introduced by another fix related to script modules.

    Unfortunately, only script module files that are created by a deployment will be cleaned up (not script module files that were created prior).

    My sincere apologies for the inconvenience caused by this bug.

    Thank you and best regards,

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


24 Jan, 2018 05:34 AM
24 Jan, 2018 05:28 AM
24 Jan, 2018 05:15 AM
24 Jan, 2018 05:12 AM
24 Jan, 2018 05:06 AM
24 Jan, 2018 04:55 AM