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
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.