Do you know buildbot ?

http://buildbot.net/



El viernes, 8 de enero de 2016, Abraham Varricatt <
abraham.varric...@googlemail.com> escribió:
> Hello everyone,
> I've attained some success in my endeavor and wanted to talk about it
(The following events take place over the past few days).
> The first thing I needed to do was rent out a cheap ubuntu server - I got
one from digitalocean. A requirement for jenkins is java. I decided to go
with Oracle's java-8. There were some instructions here,
>
http://www.liquidweb.com/kb/how-to-install-oracle-java-8-on-ubuntu-14-04-lts/
>
> Basically, it was a matter of installing a PPA, doing an update and
running the java-8 installer. Then it was onto jenkins. I decided not to
bother with the one from Canonical and went straight for the official
stuff. Instructions here,
> https://wiki.jenkins-ci.org/display/JENKINS/Installing+Jenkins+on+Ubuntu
>
> Installing was easy. Configuring it was a mess. Jenkins will let the
first person to access the web-interface perform configurations, and ..
well, I screwed it up. The end result was that I locked myself out of my
own jenkins server! This kind-of devastated me for some time. I REALLY
didn't want to restart from scratch and searched for some way to fix the
mess (I still had shell access to the system, just not web access).
Amusingly enough, it turns out that the scenario is common enough for the
jenkins devs to mention it on their wiki! Here,
> https://wiki.jenkins-ci.org/display/JENKINS/Disable+security
>
> Finding my jenkins config file was not as straight-forward as I would
have liked, but in the end, I got things done. With jenkins up and running,
I decided to just try the instructions from the TDD book. Here's the link
to the online chapter,
>
http://chimera.labs.oreilly.com/books/1234000000754/ch20.html#_installing_jenkins
>
> This .. actually worked. It worked! I was able to initiate builds from
jenkins!
> The next step was to try and automate things, so that if I make a pull
request, jenkins would build and comment back on the request. For this, I
needed to use the 'github pull request builder plugin'. It was a lot more
difficult than I expected. At first, I tried following the instructions
here,
> http://www.theguild.nl/building-github-pull-requests-with-jenkins
> Not exactly helpful. I think the blog was written with an older version
of the suite in mind. I ended up making a few jenkins jobs - the lot didn't
work as I was hoping it would and in frustration, I deleted them all.
Around then, I discovered this,
>
https://wiki.jenkins-ci.org/display/JENKINS/GitHub+pull+request+builder+plugin
>
> Yes, the official jenkins wiki. Short story: it worked. You can now point
and laugh at my stupidity. But darn! I had to read those instructions
multiple times, compare them with what my jenkins instance was showing me
before, finally getting it to work. But it now does and I'm happy. :)
> Oh yeah - at some point, the whole 'jenkins bot needs access to repo'
really confused me. I actually transferred the repo between my github
account and my bot's account multiple times before deciding to make an
organization and giving everyone ownership rights. The idea of webhooks
also took me for a spin. I wanted to have github inform jenkins when to do
the builds, but the instructions I found assume you are running some kind
of cron-task. Not really what I like. That took awhile to figure out!
> To show-off, here's my jenkins server;
> http://128.199.74.212:8080/
>
> And check out this (dummy) pull request,
> https://github.com/char-key/TDDwithPython/pull/1
>
> This brings me to about .. 85% of what I wanted to setup. The last thing
I need to do, is get some build statistics running. I'm looking a the
django-jenkins package. Are there any similar options available?
> Hoping these mails help someone,
> Abraham V.
>
> --
> You received this message because you are subscribed to the Google Groups
"Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
https://groups.google.com/d/msgid/django-users/cc3132b7-dcdd-43fb-9f91-de9627686d1b%40googlegroups.com
.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
"La utopía sirve para caminar" Fernando Birri

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAG%2B5VyMNEMN%2BYzM_FfT%3Dtb4ORRC3XLzXVosEDaoFw-rnGh0VEw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to