update the committers for icn
[icn.git] / ci / ci.sh
index 4d6e0a1..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 {
@@ -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 {