Fix jenkins-init scripts dir 29/12729/2
authorThanh Ha <thanh.ha@linuxfoundation.org>
Fri, 21 Sep 2018 23:41:20 +0000 (19:41 -0400)
committerThanh Ha <thanh.ha@linuxfoundation.org>
Fri, 19 Oct 2018 16:25:30 +0000 (12:25 -0400)
Resolve issue caused by I5060dd0c1b67fa020a84844936eebb970ae2cbb6
which moved the global-jjb directory around and caused scripts
that depended on the old path to start failing.

Change-Id: I705a8c79bd69c9fdaff8dc677e0f22cb6b42d74b
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
docs/install.rst
jenkins-init-scripts/init.sh
jjb/lf-ci-jobs.yaml
releasenotes/notes/fix-jenkins-init-scripts-dir-a448c059855bda50.yaml [new file with mode: 0644]
shell/jenkins-configure-clouds.sh
shell/jenkins-configure-global-vars.sh

index 49bc041..6a9c136 100644 (file)
@@ -114,8 +114,6 @@ Global JJB as follows:
       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"
index 3ddcc6f..1bd2229 100755 (executable)
@@ -9,7 +9,7 @@
 # http://www.eclipse.org/legal/epl-v10.html
 ##############################################################################
 
-INIT_SCRIPTS_DIR="/opt/ciman/jjb/global-jjb/jenkins-init-scripts"
+INIT_SCRIPTS_DIR="/opt/ciman/global-jjb/jenkins-init-scripts"
 
 "$INIT_SCRIPTS_DIR/package-listing.sh"
 "$INIT_SCRIPTS_DIR/basic-settings.sh"
index f074bac..a3893e1 100644 (file)
 
     builders:
       - shell: |
-          cd jjb/global-jjb
+          cd global-jjb
           git fetch https://gerrit.linuxfoundation.org/infra/releng/global-jjb $GERRIT_REFSPEC
           git cherry-pick FETCH_HEAD
       - lf-infra-jjbini
diff --git a/releasenotes/notes/fix-jenkins-init-scripts-dir-a448c059855bda50.yaml b/releasenotes/notes/fix-jenkins-init-scripts-dir-a448c059855bda50.yaml
new file mode 100644 (file)
index 0000000..4f2accb
--- /dev/null
@@ -0,0 +1,6 @@
+---
+fixes:
+  - |
+    The jenkins-init scripts dir is now updated to reflect changes recommended
+    for the v0.25.0 release. We unfortunately missed this critical piece in the
+    v0.25.0 release.
index ed72f74..59c80a0 100644 (file)
@@ -28,7 +28,7 @@
 #
 #    export WORKSPACE=/tmp/ci-management
 #    export jenkins_silos=sandbox
-#    bash ./jjb/global-jjb/shell/jenkins-configure-clouds.sh
+#    bash ./global-jjb/shell/jenkins-configure-clouds.sh
 echo "---> jenkins-configure-clouds.sh"
 
 if [ ! -d "$WORKSPACE/jenkins-config/clouds" ]; then
@@ -36,7 +36,7 @@ if [ ! -d "$WORKSPACE/jenkins-config/clouds" ]; then
     exit 0
 fi
 
-GROOVY_SCRIPT_FILE="jjb/global-jjb/jenkins-admin/manage_clouds.groovy"
+GROOVY_SCRIPT_FILE="global-jjb/jenkins-admin/manage_clouds.groovy"
 OS_CLOUD_DIR="$WORKSPACE/jenkins-config/clouds/openstack"
 SCRIPT_DIR="$WORKSPACE/archives/groovy-inserts"
 mkdir -p "$SCRIPT_DIR"
index 2ebdcee..eb25de0 100644 (file)
@@ -18,7 +18,7 @@
 #                     configuration to. (default: jenkins)
 echo "---> jenkins-configure-global-vars.sh"
 
-GROOVY_SCRIPT_FILE="jjb/global-jjb/jenkins-admin/set_global_properties.groovy"
+GROOVY_SCRIPT_FILE="global-jjb/jenkins-admin/set_global_properties.groovy"
 
 silos="${jenkins_silos:-jenkins}"