Hi @Nawang Lama,
You can use an anchor like this as long as you include it in the definitions. You will need to remove the - before the script from the definition.
An example definition that works is the following:
definitions:
scripts:
my_script: &pkg_build_script |-
export PRODJECT="*8979879"
env
echo "Building Packages for call-${PKG_NAME}"
Please feel free to let me know if that works for you or if you're experiencing any issues.
Kind regards,
Theodora
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.