define global variables in jenkins pipeline

AAA="aaaaaaaa"
echo AAA
echo "$AAA"

https://stackoverflow.com/questions/37425064/how-to-use-environment-variables-in-a-groovy-function-using-a-jenkinsfile
相關文章
相關標籤/搜索