Update cloud image Ubuntu18.04 docker x86_64
[releng/builder.git] / jjb / integration / integration-rebase-gerrit-patch.sh
1 #!/bin/sh
2 # Make sure changes merged after patch creation are applied.
3
4 set -exu
5 echo "Rebase the patch on top of ${GERRIT_PROJECT}"
6 cd "${GERRIT_PROJECT}"
7 export EMAIL="sandbox@jenkins.opendaylight.org"
8 # TODO: Is there a more appropriate e-mail?
9 export GIT_COMMITTER_NAME="Rebase Macro"
10 git rebase "origin/${DISTROBRANCH}"
11 cd "${WORKSPACE}"