X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=docs%2Fjenkins.rst;h=276288d11fe84f136a8eaa4d9c9f0c3e4f4db9b1;hb=2712d5d09813be53565b683d71894619d44fcc4e;hp=ef38654e8fe4c1e7d138e674daff647d5e6a828c;hpb=1a1df131bf11271607bd64ae300112f32dd7a9d0;p=releng%2Fbuilder.git diff --git a/docs/jenkins.rst b/docs/jenkins.rst index ef38654e8..276288d11 100644 --- a/docs/jenkins.rst +++ b/docs/jenkins.rst @@ -27,12 +27,18 @@ in the jenkins-master_ silo and this can be achieved by simply creating a .. code-block:: bash - git clone https://git.opendaylight.org/gerrit/releng/builder + git clone --recursive https://git.opendaylight.org/gerrit/releng/builder cd builder mkdir jjb/ +.. note: + + releng/global-jjb is a submodule of releng/builder repository which + requires a git submodule update --init or using --recursive with git clone. + `releng-global-jjb`_ + Where should be the same name as your project's git repo in -Gerrit. So if your project is called "aaa" then create a new jjb/aaa directory. +Gerrit. If your project is called "aaa" then create a new jjb/aaa directory. Next we will create .yaml as follows: @@ -248,30 +254,6 @@ Pool: ODLRPC Packer Template
releng/builder/packer/templates/mininet-ovs-2.3.json Spinup Script
releng/builder/jenkins-scripts/mininet-ubuntu.sh - - - Ubuntu 14.04 (Trusty) system with ovs 2.3 and mininet 2.2.1 - - - - - Jenkins Labels
ubuntu1404-mininet-ovs-25-2c-2g - Minion Template names
ubuntu1404-mininet-ovs-25-2c-2g - Packer Template
releng/builder/packer/templates/mininet-ovs-2.5.json - Spinup Script
releng/builder/jenkins-scripts/mininet-ubuntu.sh - - - - Ubuntu 14.04 (Trusty) system with ovs 2.5 and mininet 2.2.2 - - - - - Jenkins Labels
ubuntu1604-mininet-ovs-25-2c-4g - Minion Template names
ubuntu1604-mininet-ovs-25-2c-4g - Packer Template
releng/builder/packer/templates/mininet-ovs-2.5.json - Spinup Script
releng/builder/jenkins-scripts/mininet-ubuntu.sh - Ubuntu 16.04 (Xenial) system with ovs 2.5 and mininet 2.2.1 @@ -401,8 +383,8 @@ installs, we recommend using `Python Virtual Environments `_ to manage JJB and its Python dependencies. The `python-virtualenvwrapper`_ tool can help you do so. -There are good docs for installing `python-virtualenvwrapper`_. On Linux systems -with pip (typical), they amount to: +Documentation is available for installing `python-virtualenvwrapper`_. On Linux +systems with pip (typical), they amount to: .. code-block:: bash @@ -456,7 +438,7 @@ First, clone the latest version of the `releng-builder-repo`_. .. code-block:: bash - $ git clone https://git.opendaylight.org/gerrit/p/releng/builder.git + $ git clone --recursive https://git.opendaylight.org/gerrit/p/releng/builder.git Before actually installing JJB and its dependencies, make sure you've `created and activated `_ a virtual environment for JJB. @@ -826,7 +808,7 @@ example is provided by releng/builder at `example-jenkins.ini`_. .. code-block:: bash # If you don't have RelEng/Builder's repo, clone it - $ git clone https://git.opendaylight.org/gerrit/p/releng/builder.git + $ git clone --recursive https://git.opendaylight.org/gerrit/p/releng/builder.git # Make a copy of the example JJB config file (in the builder/ directory) $ cp jenkins.ini.example jenkins.ini # Edit jenkins.ini with your username, API token and ODL's sandbox URL @@ -983,6 +965,7 @@ If `using Docker `_: .. _releng-wiki: https://wiki.opendaylight.org/view/RelEng:Main .. _releng-builder-gerrit: https://git.opendaylight.org/gerrit/#/admin/projects/releng/builder .. _releng-builder-repo: https://git.opendaylight.org/gerrit/gitweb?p=releng%2Fbuilder.git;a=summary +.. _releng-global-jjb: https://gerrit.linuxfoundation.org/infra/#/q/project:releng/global-jjb .. _releng-builder-wiki: https://wiki.opendaylight.org/view/RelEng/Builder .. _streams-design-background: https://lists.opendaylight.org/pipermail/release/2015-July/003139.html .. _spinup-scripts: https://git.opendaylight.org/gerrit/gitweb?p=releng/builder.git;a=tree;f=jenkins-scripts