Merge "VPP: Remove unused cpoc and promote jobs"
authorVanessa Rene Valderrama <vvalderrama@linuxfoundation.org>
Tue, 27 Mar 2018 16:19:34 +0000 (16:19 +0000)
committerGerrit Code Review <gerrit@fd.io>
Tue, 27 Mar 2018 16:19:34 +0000 (16:19 +0000)
jjb/ci-management/ci-management-jobs.yaml
jjb/csit/include-raw-csit-cpta.sh
jjb/global-macros.yaml

index 823c6cc..6625a30 100644 (file)
             server-name: 'Primary'
             trigger-on:
                 - patchset-created-event:
-                    exclude-drafts: 'false'
+                    exclude-drafts: 'true'
                     exclude-trivial-rebase: 'false'
                     exclude-no-code-change: 'false'
                 - draft-published-event
index db37feb..7775857 100644 (file)
@@ -12,8 +12,7 @@ set -xe -o pipefail
 
 cd ${DOC_DIR}
 chmod +x ./run_cpta.sh
-./run_cpta.sh
-retval=$?
+STATUS=$(./run_cpta.sh | tail -1)
 
 cd ${WORKSPACE}
 
@@ -53,8 +52,8 @@ ${MVN} site:site site:deploy -gs "${GLOBAL_SETTINGS_FILE}" -s "${SETTINGS_FILE}"
 
 cd -
 
-
-if [ ${retval} -ne "0" ]; then
-  echo "FAIL"
+if [ ${STATUS} == "PASS" ]; then
+    exit 0
+else
+    exit 1
 fi
-exit ${retval}
\ No newline at end of file
index e1b1efa..259d131 100644 (file)
             server-name: 'Primary'
             trigger-on:
                 - patchset-created-event:
-                    exclude-drafts: 'false'
+                    exclude-drafts: 'true'
                     exclude-trivial-rebase: 'false'
                     exclude-no-code-change: 'false'
                 - draft-published-event
             server-name: 'Primary'
             trigger-on:
                 - patchset-created-event:
-                    exclude-drafts: 'false'
+                    exclude-drafts: 'true'
                     exclude-trivial-rebase: 'false'
                     exclude-no-code-change: 'true'
                 - draft-published-event
             server-name: 'Primary'
             trigger-on:
                 - patchset-created-event:
-                    exclude-drafts: 'false'
+                    exclude-drafts: 'true'
                     exclude-trivial-rebase: 'false'
                     exclude-no-code-change: 'true'
                 - draft-published-event