I have about 20 tasks using common parameters (user, password), and sometimes the password expires ... Therefore, I have to change it to all tasks that really take a lot of time (and the probability of error, I can forget it).
I'm thinking of:
- using the kind of magic properties file, if one exists, to have straight lines, such as KEY, VALUE, added to the job parameters
- adding a pair of the same KEY, VALUE types directly inside
build.xml, but where? And it's really ugly ... Maybe with dedicated XML embedded in build.xml? - calling a subordinate job that (how?) clicks on the parent's desired values ...
As you can see, I am just starting out in Hudson / Jenkins (I am using Jenkins 1.424.2.2), thanks for your help!
EDIT: I am not a Jenkins instance administrator, so I do not have access to global properties ...
source
share