From a0a65ef3b2f9f8fe94e28e94de8a7c1b217ce20b Mon Sep 17 00:00:00 2001 From: Randy Barlow Date: Wed, 15 Aug 2018 08:49:51 -0400 Subject: [PATCH] Set a git user and e-mail for the CI rebase. CI began to fail recently at the git rebase step with this message: + git rebase --preserve-merges origin/develop *** Please tell me who you are. Run git config --global user.email "you@example.com" git config --global user.name "Your Name" to set your account's default identity. Omit --global to set the identity only in this repository. fatal: unable to auto-detect email address (got 'bodhi@slave03.(none)') You need to set your committer info first This commit sets the e-mail and name so that git will be happy with the rebase. Signed-off-by: Randy Barlow --- devel/ci/githubprb-project.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/devel/ci/githubprb-project.yml b/devel/ci/githubprb-project.yml index 9491490bcc..eceb6ac96e 100644 --- a/devel/ci/githubprb-project.yml +++ b/devel/ci/githubprb-project.yml @@ -88,6 +88,8 @@ env > jenkins-env $ssh_cmd yum -y install rsync # Checkout the pull request that we received from the githubPRB plugin + git config --global user.email "bodhi-ci@fedoraproject.org" + git config --global user.name "Bodhi CI" git rebase --preserve-merges origin/${{ghprbTargetBranch}} \ && rsync -e "ssh $sshopts" -Ha $(pwd)/ $CICO_hostname:payload \ && /usr/bin/timeout {timeout} $ssh_cmd -t "cd payload && {ci_cmd}"