Content Deep Dive
Script Parameters
Blog post from Octopus Deploy
Post Details
Company
Date Published
Author
Pawel Pabich
Word Count
175
Language
English
Hacker News Points
-
Source URL
Summary
Octopus 3.3.21 introduces a feature that allows standalone scripts to accept command line parameters directly, eliminating the need for previous workarounds that required using the Octopus API to fetch variable values. This enhancement simplifies the testing of "normal" scripts outside of Octopus, as users no longer need to create additional wrapper scripts or manage extra files. Parameters must be provided in a language-specific format, such as using "-Parameter1 Value1" for PowerShell or simply "Value1 Value2" for Bash, which the system then passes directly to the execution environment, enhancing the ease and efficiency of script parameterization.