script
script
allows for creation of a custom script during the integration process and execution of this script
script
supports the following options:
type
- script type:bash
,sh
,zsh
,bat
,cmd
,ps1
name
- optional - script file nameinterpreter
- optional the interpreter used to run the script (by default the interpreter is derived from the scripttype
property)script
- script content
script
supports the following filter options:
platform
- platform filterarch
- architecture filterfamily
- platform family filter
[[action]]
items = [
# this is bash script that will run only
# on Linux and MacOS dur to family filter
{ script = { type = "bash", family = "unix", script = """
echo "running Bash!"
""" }},
# this is CMD script that will run only
# on Windows due to family filter
{ script = { type = "cmd", family = "windows", script = """
echo "running CMD!"
""" }},
]