Change-Id: Ic8d1080edacea1d27eb80e61f48cd4cd4430c139
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
# When the refspec is overriden, the computation is still performed,
# in order to show (on Sandbox) the computation is correct.
#
# When the refspec is overriden, the computation is still performed,
# in order to show (on Sandbox) the computation is correct.
#
+ # Git status and git log -1 are executed, so the current state
+ # of the checked-out branch is visible.
+ # This is mainly useful for identifying trending anomalies
+ # caused by changes in CSIT code.
+ #
# On failure, working directory could remain changed to ${CSIT_DIR}.
# TODO: It could be possible to use ERR trap to force popd,
# but with "set -x" the noise is not worth it,
# On failure, working directory could remain changed to ${CSIT_DIR}.
# TODO: It could be possible to use ERR trap to force popd,
# but with "set -x" the noise is not worth it,
else
git checkout "${csit_branch}" || die
fi
else
git checkout "${csit_branch}" || die
fi
+ git status || die
+ git log -1 || die