jenkins - Inject passwords to the build as environment variables -
i trying set password in jenkins through option in 'build environments' section can used in test password , use it. option checking in "inject passwords build environment variables". problem loosing these values once seed job runs. values added disappearing after seed job runs. did faced problem? how make permanent every time can retrieve pwds in test code?
after running seed job, manual changes generated job lost. that's intended behavior of job dsl plugin.
to use passwords in job dsl generated job, use credentials plugin store password (or secret) in jenkins. use credentials binding plugin map password environment variable in job. have @ job dsl wiki example.
Comments
Post a Comment