exit 1
fi
- if [ "$GIT_BRANCH_NAME" = "integration" ] || [ ${GIT_BRANCH_NAME:0:8} = "feature/" ] || [ ${GIT_BRANCH_NAME:0:3} = "poc/" ]; then
+ if [ "$GIT_BRANCH_NAME" = "integration" ] || [ ${GIT_BRANCH_NAME:0:8} = "feature/" ] || [ ${GIT_BRANCH_NAME:0:3} = "poc/" ] || [ ${GIT_BRANCH_NAME:0:7} = "bugfix/" ]; then
APPEND_TO_VERSION="experimental"
REPO="dev-${SUITE}"
if [ "$GIT_BRANCH_NAME" = "integration" ] ; then
cleanup
# push back integration branch if we merged a feature branch
-if [ ${GIT_BRANCH_NAME:0:8} = "feature/" ] ; then
+if [ ${GIT_BRANCH_NAME:0:8} = "feature/" ] || [ ${GIT_BRANCH_NAME:0:7} = "bugfix/" ]; then
if [[ "$BUILD_TRIGGERS" == *"merge"* ]]; then
git push origin integration
git checkout origin/$GIT_BRANCH_NAME -b $GIT_BRANCH_NAME
# clean up git
git reset --hard
-if [ ${GIT_BRANCH_NAME:0:8} = "feature/" ] ; then
+if [ ${GIT_BRANCH_NAME:0:8} = "feature/" ] || [ ${GIT_BRANCH_NAME:0:7} = "bugfix/" ] ; then
if [[ "$BUILD_TRIGGERS" == *"merge"* ]]; then
#
# if triggered to 'merge' via git commit,
- # merge feature branch into integration branch
+ # merge feature/bugfix branch into integration branch
#
echo "Switching to integration branch..."
git checkout integration