Using environment variables (Get started with Jenkins, part 7)

preview_player
Показать описание
In this video I'll show you how you can use environment variables to securely store and use your credentials in Jenkins

More free tutorials on Jenkins:

► About me
Рекомендации по теме
Комментарии
Автор

very well presented and thanks for posting this video..

basavrajnilkanthe
Автор

Still relevant, thanks for posting. Anyone who wants to use that binded variables with windows batch command use %variablename% instead of $variablename

mohammedshahbaazshareef
Автор

very useful! - thanks.
query - can we add parameters in the Jenkins and use those values in the framework and execution code.?

venkatsubbaiah
Автор

This is a pretty cool method for defining environment variables for usernames and passwords at the job level. For my jobs, I create a Global property as a username and a password as a Global Password in the Configure System section. This means I don't have to check the checkbox in the Build Environment section of a job and don't have to create a binding in the Bindings section for each of my jobs. My technique is beneficial from the standpoint of not having to update several jobs. Is there a way to define these bindings globally for the Credentials Binding Plugin instead of at the job level?

Josh-cxyk
Автор

please tell me how can i call choice parameter variable in my jenkinsfile to use them, , i am stuck

AtulSharma-zxxv
welcome to shbcf.ru