support environment vars and some customized vars, such as ${BUILD_STATUS}. if the content contain ${DEFAULT_CONTENT}, it will be replaced with "${BUILD_STATUS}:${BUILD_URL}".