Wednesday, 2020-10-21

*** zxiiro has quit IRC04:59
*** nweinber has joined #openstack-jjb12:40
*** zxiiro has joined #openstack-jjb12:50
*** etienne has joined #openstack-jjb14:14
*** atsaloli has joined #openstack-jjb17:32
atsaloliis there any way to make it visible in the Jenkins UI the JJB filename (for the JJB file that the job came from) ?17:33
zxiiroatsaloli: no, JJB is not integrated into Jenkins in anyway. All it's doing is hitting the Jenkins Rest API to upload config XML files to publish jobs.20:04
zxiiroatsaloli: the closest you can get to what you want though is to use the "description" field in a job config to mention what job-template is being used.20:04
zxiirowon't be a 1:1 mapping especially if job templates move between files but at least it gives you something.20:05
Odd_BlokeWould it be possible for JJB to include some of that info in the "DO NOT TOUCH THIS" description it autogenerates?20:41
zxiiroOdd_Bloke: not today but I would imagine the feature could be developed if there was anyone with available cycles to work on it.20:46
zxiiroOdd_Bloke: I think the challenge will be that expandYaml in parser.py which is what parses the contents of the YAML files does not have data on filenames. By the time parsing is happening it's parsing data from memory and filename information is lost at that point.20:49
Odd_BlokeRight, yeah, I wondered if that would be the case.20:50
Odd_BlokeIt's been a while since I looked at the code, I'm less Jenkins-adjacent than I used to be. :p20:50
zxiirosame I had to dig a bit to find that :)20:51
zxiiroOdd_Bloke: does Canonical have JJB devs / users who might be interested and have time to contribute to JJB?20:59
zxiiroUnfortunately I'm unlikely to have much time to contribute to JJB in the future outside of just occasionally approving Gerrit patches and releasing a new version once in awhile.21:00
zxiiroNo longer employed by a company using Jenkins so it no longer affects my day-to-day work so would be good if we can find some new maintainers who have a vested interested in the project.21:02
Odd_Blokezxiiro: I know philroche's team use it extensively; it's certainly used elsewhere in the company, including my current team, but I don't know much more than that.  I'll reach out to the person who manages our team's Jenkins to let him know that there's upstream interest, but can't make any promises ofc.21:18
zxiiroOdd_Bloke: sounds good and thanks.21:19
*** nweinber has quit IRC21:20
*** etienne has quit IRC21:24
*** etienne has joined #openstack-jjb22:01
atsalolizxiiro: embedding the filename in the description would be a huge help actually22:43
atsalolizxiiro: thanks for that suggestion!22:43
atsaloliIs there any variable or anything we could use in the description field, to have jjb fill it in with the filename?22:44
atsalolirather than hardcoding the filename?  :)22:44
zxiiroatsaloli: no there's no such variable today unfortunately. You'll have to do it manually. Or if  want to try to codify that patches are welcome ;)22:45
atsalolisweet22:45
atsaloliwhat's the process for contributing?22:45
atsalolii should probably just check the project web site, I bet it's all written down22:46
zxiiroWe use OpenStack's Gerrit system. Create an account and you can use git-review tool to push the code up.22:46
atsalolibeauty22:47
atsalolithanks, mate22:47
zxiiroNp! let me you if you get stuck.22:48
atsalolisuper22:49
atsaloliwhat about jobs that are created from projects?  can I put "description" into a project YAML?23:02
atsaloliall the examples in the documentation have "description" under "job"23:03
atsaloli(I'm new to jjb)23:03
atsaloli it doesn't look like it23:10
atsalolioops, it works fine if I put the "description" in the job-template YAML. Sorry for the noise!  :)23:31

Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!