Passing Jenkins environment variable in Powershell script
问题 i would like to use a jenkins environment variable inside a power shell script.Here ${destination} is coming as null inside powershell script.Not able to identify what is the mistake i am doing.Please help !/bin/groovy pipeline { agent { label { label "" customWorkspace "C:\\Jenkins\\workspace" } } environment { def destination='' } options { timestamps() timeout(time: 60, unit: 'MINUTES') skipDefaultCheckout(true) disableConcurrentBuilds() } stages { stage('TEST') { steps { script{