
>Dev Labo_
$Why env.PULUMI_BACKEND_URL = ... Returns null: A Silent Trap in Jenkins Declarative Pipeline's environment{} Block
//I tried to resolve a Pulumi backend dynamically from an AWS account ID and ran into values that looked correct inside the function but came back as null in the next stage. After chasing CPS and shared-library boundaries down a few wrong alleys, the real culprit turned out to be two empty-string placeholder lines in the environment{} block.
tags:[#Jenkins, #Pipeline, #AWS, #Troubleshooting]



