Chore: Upgrade Jenkins-job-builder to 6.3.0
[releng/global-jjb.git] / docs / install.rst
index fb7a649..52e0d5a 100644 (file)
@@ -104,11 +104,18 @@ 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 global-jjb
+      cd global-jjb
       git checkout $GLOBAL_JJB_VERSION
-      cd ../..
+      cd ..
+
+      # Setup symlinks
+      mkdir -p jjb/global-jjb
+      ln -s ../../global-jjb/jenkins-init-scripts jjb/global-jjb/jenkins-init-scripts
+      ln -s ../../global-jjb/shell jjb/global-jjb/shell
+      ln -s ../../global-jjb/jjb jjb/global-jjb/jjb
       git add jjb/global-jjb
+
       git commit -sm "Install global-jjb $GLOBAL_JJB_VERSION"
 
    .. note::