*** nweinber has joined #openstack-jjb | 11:48 | |
*** maunty has joined #openstack-jjb | 12:37 | |
maunty | zxiiro, hi. I recently added some reviews to jenkins job builder related to multibranch job type. I have some more ideas, may we discuss them? | 12:44 |
---|---|---|
zxiiro | maunty: hey, I think I saw them. What did you need to discuss? | 13:12 |
maunty | I use multibranch with defaults type project, and job setup is only 1 part of project setup, also is needed to setup groovy script(jenkinsfile) in global jenkins file storage. | 13:26 |
maunty | I have a separate python script that just run a groovy script inside jenkins. And this groovy script ads files to storage. | 13:27 |
maunty | And approves them. | 13:27 |
maunty | So i dont need to make any manual moves. I would like to integrate this in jjb. But i really dont understand how to do this. Jjb architecture is troublesome to do something else from generating xml... | 13:30 |
zxiiro | maunty: Where is the groovy script stored? do you mean like managed files in Jenkins? | 13:36 |
openstackgerrit | Merged jjb/jenkins-job-builder master: Gerrit Trigger: update support to the latest plugin version https://review.opendev.org/731169 | 14:15 |
zxiiro | maunty: It's not clear to me where you are storing your Jenkinsfiles however if you are managing things in Global Jenkins configuration. You can use another plugin called the "configuration as code" plugin which is capable of managing Global Jenkins settings. | 14:22 |
zxiiro | https://plugins.jenkins.io/configuration-as-code/ | 14:22 |
zxiiro | We use JJB to manage job config, and JCasC to manage Jenkins Global config. Maybe this get's you pretty close to what you're looking for? | 14:22 |
zxiiro | JCasC also supports managed files (from the Config File Provider plugin if that is what you are using to save your groovy scripts in). | 14:23 |
maunty | Oh.. | 15:41 |
maunty | Окей, i`ll take a look | 15:42 |
maunty | thx | 15:42 |
maunty | Yes this seams to be what i need. There is still a question with script approval, but i think this question should be solved already too. | 15:53 |
maunty | question cleared. Thx | 15:53 |
*** maunty has quit IRC | 15:55 | |
*** nweinber has quit IRC | 20:14 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!