summaryrefslogtreecommitdiffstats
path: root/jjb/openci
diff options
context:
space:
mode:
authorFatih Degirmenci <fdegir@gmail.com>2018-09-21 09:48:02 +0200
committerFatih Degirmenci <fdegir@gmail.com>2018-09-21 09:49:23 +0200
commitf84a820b01dca361000e04b6dd0f34d4e4d0c82a (patch)
treed8b4e09feb4b706eabc8a0b123d47c50ecb33d53 /jjb/openci
parentbad57592baa7606749741fe15d29c2207ba63f9c (diff)
openci: Log eventBody to console before publishing
It is necessary to log the eventBody to console before we attempt to publish it since it is not possible to see the event body in case if the publisher errors out due to invalid JSON. Change-Id: If3159af82671d60580ca184900531b44ab573c54 Issue-ID: CIMAN-161 Signed-off-by: Fatih Degirmenci <fdegir@gmail.com>
Diffstat (limited to 'jjb/openci')
-rwxr-xr-xjjb/openci/create-ape.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/jjb/openci/create-ape.sh b/jjb/openci/create-ape.sh
index c54e0ef7e..5bd3a0676 100755
--- a/jjb/openci/create-ape.sh
+++ b/jjb/openci/create-ape.sh
@@ -37,11 +37,11 @@ cat <<EOF > ./json_body.txt
}
EOF
-python openci_publish -H 129.192.69.55 -U ${ACTIVEMQ_USER} -p ${ACTIVEMQ_PASSWORD} -n openci.prototype -B ./json_body.txt
-
echo "Constructed $PUBLISH_EVENT_TYPE"
echo "--------------------------------------------"
cat ./json_body.txt
echo "--------------------------------------------"
+python openci_publish -H 129.192.69.55 -U ${ACTIVEMQ_USER} -p ${ACTIVEMQ_PASSWORD} -n openci.prototype -B ./json_body.txt
+
deactivate