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

Popular posts from this blog

javascript - gulp-nodemon - nodejs restart after file change - Error: listen EADDRINUSE events.js:85 -

Fatal Python error: Py_Initialize: unable to load the file system codec. ImportError: No module named 'encodings' -

javascript - oscilloscope of speaker input stops rendering after a few seconds -