update the committers for icn
[icn.git] / ci / ci.sh
index 4de87fb..03e631c 100755 (executable)
--- a/ci/ci.sh
+++ b/ci/ci.sh
@@ -46,6 +46,15 @@ function install_jenkins {
     mkdir -p ${HOME}/.config/jenkins_jobs
     cp ${SCRIPT_DIR}/jenkins_jobs.ini ${HOME}/.config/jenkins_jobs/jenkins_jobs.ini
     git clone --recursive https://gerrit.akraino.org/r/ci-management "${CI_MANAGEMENT_DIR}"
+
+    # TODO Figure out how to automate this, it doesn't appear to be exposed with jenkins-cli.jar
+    cat <<EOF
+Git plugin 4.4 removes the second fetch operation in most cases. This
+prevents the CI jobs from checking out the correct version.
+
+To enable the second fetch, check the following in the Jenkins web UI:
+  Manage Jenkins -> Configure System -> [X] Preserve second fetch during checkout
+EOF
 }
 
 function install_credentials {
@@ -87,11 +96,11 @@ function update_jobs {
     # This will create all 344 jobs:
     # jenkins-jobs update ${JJB_PATH}:${ICN_DIR}/ci/jjb/project.yaml
 
-    # These are the ICN jobs we are interested in (note intentional misspelling of bm_verifer):
+    # These are the ICN jobs we are interested in
     if [[ ${WITH_VAGRANT} == "yes" ]]; then
         jenkins-jobs update ${JJB_PATH} icn-master-vagrant-verify-verifier
     fi
-    jenkins-jobs update ${JJB_PATH} icn-master-bm-verify-bm_verifer
+    jenkins-jobs update ${JJB_PATH} icn-master-bm-verify-bm_verifier
     jenkins-jobs update ${JJB_PATH} icn-bluval-daily-master
     #jenkins-jobs update ${JJB_PATH} icn-master-verify
 
@@ -99,8 +108,6 @@ function update_jobs {
     # if [[ ${WITH_VAGRANT} == "yes" ]]; then
     #     jenkins-jobs update ${JJB_PATH} icn-master-vagrant-verify-verify_nestedk8s
     # fi
-    # jenkins-jobs update ${JJB_PATH} icn-master-bm-verify-bm_verify_nestedk8s
-    # jenkins-jobs update ${JJB_PATH} icn-master-bm-verify-kud_bm_verifier
 }
 
 function install_jenkins_id {