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
It looks like you're new here. Sign in or register to get started.