Permalink
Browse files

Explicit a bit instructions to get Jenkins working

  • Loading branch information...
1 parent e20b831 commit a4da03d1a20e61583a02b80f75a3d0eee123122f @rik rik committed Jun 1, 2012
Showing with 31 additions and 8 deletions.
  1. +31 −8 jenkins.rst
View
@@ -12,7 +12,7 @@ projects it runs their python test suite. Optionally we use it to do
JS testing as well as any menial tasks that need to be done regularly,
like packaging. If you break things you will be warned in IRC.
-.. _jenkins: https://jenkins.mozilla.org/
+.. _jenkins: https://ci.mozilla.org/
Adding a new Project
--------------------
@@ -21,14 +21,37 @@ If you've got tests (which you should), and you are deploying to production,
you might want to add your project to Jenkins_. This let's the world know just
how wonderful you are at writing tests.
-To do this you'll need to:
+Asumming you're working on ``mozilla/awesome_project``, you'll need to:
-1. Log in via LDAP to Jenkins_.
-2. Start a new project.
-3. Copy Affiliates.
-4. Update the notification settings (IRC, email, etc).
-5. Copy the ``bin/jenkins.sh`` script from playdoh if you don't have it.
-6. Make sure it's got ``+x`` permissions.
+- On Jenkins:
+
+ 1. Log in via LDAP to Jenkins_.
+ 2. Start a new project.
+ 3. Copy Affiliates.
+ 4. Update the notification settings (IRC, email, etc).
+ 5. Update the Github project to point to ``https://github.com/mozilla/awesome_project/``
+ 6. Update the Git repository to point to ``git://github.com/mozilla/awesome_project.git``
+ 7. Check the "Build when a change is pushed to GitHub" checkbox
+
+- In your repo:
+
+ 1. Copy the ``bin/jenkins.sh`` script from playdoh if you don't have it.
+ 2. Make sure it's got ``+x`` permissions.
+
+- On Github:
+
+ 1. Go to ``https://github.com/mozilla/awesome_project/admin/hooks``
+ 2. The hook URL is ``https://ci.mozilla.org/github-webhook/``
You may need to make some adjustments according to the needs of your particular
project.
+
+Interacting with Jenkins on IRC
+-------------------------------
+
+You can get a Jenkins bot in your channel to send him commands.
+
+1. Go to the general configuration https://ci.mozilla.org/configure
+2. Add your channel in the IRC Notification section
+
+You can now run commands such as ``jenkins: build awesome_project now``

0 comments on commit a4da03d

Please sign in to comment.