Fix github-maven-merge scm config
[releng/global-jjb.git] / docs / install.rst
index fb7a649..49bc041 100644 (file)
@@ -104,11 +104,20 @@ Global JJB as follows:
    .. code-block:: bash
 
       GLOBAL_JJB_VERSION=v0.1.0
-      git submodule add https://github.com/lfit/releng-global-jjb.git jjb/global-jjb
-      cd jjb/global-jjb
+      git submodule add https://github.com/lfit/releng-global-jjb.git
+      cd global-jjb
       git checkout $GLOBAL_JJB_VERSION
-      cd ../..
+      cd ..
       git add jjb/global-jjb
+
+      # Setup symlinks
+      mkdir jjb/global-jjb
+      ln -s ../../global-jjb/shell jjb/global-jjb/shell
+      ln -s ../../global-jjb/jjb jjb/global-jjb/jjb
+      ln -s ../../global-jjb/jenkins-admin jjb/global-jjb/jenkins-admin
+      ln -s ../../global-jjb/jenkins-init-scripts jjb/global-jjb/jenkins-init-scripts
+      git add jjb/global-jjb
+
       git commit -sm "Install global-jjb $GLOBAL_JJB_VERSION"
 
    .. note::