Jun 17, 2021, 3:51:39 AMJun 17
to Jenkins Users
i need one info to proceed with my work.
currently the new jenkins which my team is having - entire configuration is in JCAS(jenkins configuration as code) in a yaml stored in gitlab.
now for our current scenario - we need to define, 3 jenkins global variable which will decide the job has to run or not.
to define it as global variable - i can do in yaml. - the thing is - we are going to change the values every now and then.
1. either change the value in yaml everytime - this might introduce any config error. any way we can avoid doing the change in yaml by changing it manually under manage jenkins - configure system. (the concern here is - any update in yaml will reset the value back to default for the 3 variable and the manual configuration will go off)
so any other way we can change the jenkins global variable value configured in JCAS? without any impact or change?