jenkinsfile setting environment variable with substring extraction

Having trouble attempting to set a environment variable that uses substring extraction of another environment variable. pipeline { agent any environment { NODE_BASE_NAME...