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
cd ${DOC_DIR}
chmod +x ./run_cpta.sh
-./run_cpta.sh
-retval=$?
+STATUS=$(./run_cpta.sh | tail -1)
cd ${WORKSPACE}
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
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