Rework int/dist addition to MP test 79/77279/2
authorLuis Gomez <ecelgp@gmail.com>
Thu, 25 Oct 2018 16:42:22 +0000 (09:42 -0700)
committerLuis Gomez <ecelgp@gmail.com>
Thu, 25 Oct 2018 17:18:19 +0000 (10:18 -0700)
Current implementation does not work with gerrit and after
enabling some debugs I still do not see why so I am changing
the implementation.

Change-Id: Icd930e265497cebb3f92b9ac0702455645c3bd15
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
jjb/integration/integration-test-jobs.yaml
jjb/integration/multipatch-distribution.sh

index 42424ee3567dc135f4689aa2f2d55443f76a7c5f..8cd6077fce8f591165c3c7b8f0f8aec9ff4e8e4a 100644 (file)
@@ -25,7 +25,7 @@
           build-order: >
               odlparent yangtools infrautils mdsal controller serviceutils aaa netconf
               daexim ovsdb neutron openflowplugin coe genius lispflowmapping sfc netvirt
-              bgpcep
+              bgpcep integration/distribution
 
       - fluorine:
           branch: 'stable/fluorine'
@@ -34,7 +34,7 @@
           build-order: >
               odlparent yangtools infrautils mdsal controller serviceutils aaa netconf
               daexim ovsdb neutron openflowplugin coe genius lispflowmapping sfc netvirt
-              bgpcep
+              bgpcep integration/distribution
 
       - oxygen:
           branch: 'stable/oxygen'
@@ -43,7 +43,7 @@
           build-order: >
               odlparent yangtools infrautils mdsal controller serviceutils aaa netconf
               daexim ovsdb neutron openflowplugin coe genius lispflowmapping sfc netvirt
-              bgpcep
+              bgpcep integration/distribution
 
 - project:
     name: integration-distribution
index d959627857c89b36594a7c287585c6d876fc619b..82220dff32a0f00ae3a6737828296febf4a7a15a 100755 (executable)
@@ -1,6 +1,6 @@
 #!/bin/bash
 
-set -ex
+set -e
 
 # create a fresh empty place to build this custom distribution
 BUILD_DIR=${WORKSPACE}/patch_tester
@@ -42,8 +42,8 @@ if [[ "${PATCHES_TO_BUILD}" == *topic* ]]; then
     TOPIC="${PATCHES_TO_BUILD#*=}"
     echo "Create topic ${TOPIC} patch list"
     PATCHES_TO_BUILD=""
-    read -ra PROJECT_LIST <<< "${BUILD_ORDER} integration/distribution"
-    echo "${PROJECT_LIST[@]}"
+    read -ra PROJECT_LIST <<< "${BUILD_ORDER}"
+    echo "List of projects to check patch in topic: ${PROJECT_LIST[*]}"
     for PROJECT in "${PROJECT_LIST[@]}"; do
         # get all patches number for a topic for a given project
         IFS=$'\n' read -rd '' -a GERRIT_PATCH_LIST <<< "$(ssh -p 29418 jenkins-$SILO@git.opendaylight.org gerrit query status:open topic:${TOPIC} project:${PROJECT} \
@@ -82,7 +82,6 @@ if [[ "${PATCHES_TO_BUILD}" == *topic* ]]; then
         fi
     done
 fi
-set +e
 echo "Patches to build: ${PATCHES_TO_BUILD}"
 IFS=',' read -ra PATCHES <<< "${PATCHES_TO_BUILD}"