*** jiapei has joined #openstack-jjb | 05:48 | |
*** hashar has joined #openstack-jjb | 06:58 | |
*** electrofelix has joined #openstack-jjb | 08:13 | |
openstackgerrit | Paul Theunissen proposed openstack-infra/jenkins-job-builder master: Add multibranch features https://review.openstack.org/595585 | 08:26 |
---|---|---|
*** hashar is now known as hasharAway | 09:43 | |
*** ssbarnea has quit IRC | 12:59 | |
*** ssbarnea has joined #openstack-jjb | 13:01 | |
*** ssbarnea has quit IRC | 13:01 | |
*** hasharAway is now known as hashar | 13:07 | |
*** hashar is now known as hasharAway | 14:06 | |
*** hasharAway is now known as hashar | 15:59 | |
*** jiapei has quit IRC | 16:22 | |
*** hashar has quit IRC | 16:48 | |
*** hashar has joined #openstack-jjb | 17:03 | |
*** hashar has quit IRC | 17:10 | |
*** hashar has joined #openstack-jjb | 17:11 | |
*** hashar has quit IRC | 17:17 | |
*** electrofelix has quit IRC | 17:32 | |
*** openstackgerrit has quit IRC | 18:00 | |
*** hashar has joined #openstack-jjb | 18:02 | |
*** hashar is now known as hasharAway | 18:04 | |
*** mr_chris has joined #openstack-jjb | 19:51 | |
mr_chris | Good day. How do I create views with Jenkins Job Builder? The docs are very sparse on it. | 19:51 |
mr_chris | I've tried running http://dpaste.com/2643RFX through jenkins-jobs, but it says 0 jobs create and does nothing. | 19:51 |
zxiiro | mr_chris: here's a live working example https://github.com/AcademySoftwareFoundation/ci-management/blob/master/jjb/views.yaml | 19:53 |
zxiiro | mr_chris: what you did should have worked though | 19:54 |
zxiiro | mr_chris: make sure you're using a recent version of JJB | 19:55 |
zxiiro | we didn't always have view support | 19:55 |
mr_chris | Thanks. Looking. | 19:55 |
mr_chris | I would apply it like "jenkins-jobs --conf "$JENKINS_HOME/jenkins-jobs.ini" --ignore-cache update view.yml" right? | 19:55 |
zxiiro | mr_chris: yeah | 19:56 |
mr_chris | Looks like I'm on 1.6.1 | 19:56 |
mr_chris | That's what pip gave me. | 19:56 |
zxiiro | 1.6.1 definitely does not support views | 19:56 |
mr_chris | There's the problem, then. | 19:56 |
mr_chris | What's the proper way to install the latest version? | 19:56 |
zxiiro | we didn't add view support until 2.0.6 or something (i forget exactly) | 19:56 |
zxiiro | I usually use `pip install jenkins-job-builder` | 19:57 |
zxiiro | do it in a virtualenv | 19:57 |
zxiiro | virtualenv jjb && source jjb/bin/activate && pip install jenkins-job-builder | 19:57 |
mr_chris | Gah. I see the problem. | 19:58 |
zxiiro | mr_chris: never ever, ever do sudo pip install ;) | 19:58 |
mr_chris | I installed it from apt. | 19:58 |
zxiiro | yeah apt wouldn't have a recent version for python things I always install them in virtualenvs | 19:58 |
zxiiro | or the other route "pip install --user jenkins-job-builder" if you don't want to mess around with virtualenvs | 19:59 |
zxiiro | it will install to ~/.local instead | 19:59 |
mr_chris | Thanks. I'll get it updated and give it a go. | 19:59 |
*** hasharAway has quit IRC | 20:00 | |
*** mr_chris has quit IRC | 20:06 | |
*** mr_chris has joined #openstack-jjb | 20:07 | |
*** openstackgerrit has joined #openstack-jjb | 20:14 | |
openstackgerrit | Paul Theunissen proposed openstack-infra/jenkins-job-builder master: Add multibranch features https://review.openstack.org/595585 | 20:14 |
*** mr_chris has quit IRC | 21:09 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!