From 5aaf298d988fd30a882de5933a3a8010d0ec7290 Mon Sep 17 00:00:00 2001 From: "robert.tomczyk" Date: Mon, 1 Mar 2021 17:49:24 +0000 Subject: [PATCH] OpenDev: Workaround for the OpenDev Gerrit push upstream issue This is WO for the: "error: remote unpack failed: error Missing tree" that we are getting when pushing code to OpenDev Gerrit. Change-Id: I5c9d5ef890826f5c595493c748f84fcda37b64bd --- jjb/opendev/push-upstream-jobs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jjb/opendev/push-upstream-jobs.sh b/jjb/opendev/push-upstream-jobs.sh index 7f2a696d..ef22aba2 100755 --- a/jjb/opendev/push-upstream-jobs.sh +++ b/jjb/opendev/push-upstream-jobs.sh @@ -68,7 +68,7 @@ echo >&2 "Pushing to OpenDev" # do not fail if git push fails as in case of no new changes we want to succeed. See below. set +o pipefail -git push "$opendev_remote_url" "$refspec" 2>&1 | tee push_result.txt +git push --no-thin "$opendev_remote_url" "$refspec" 2>&1 | tee push_result.txt push_result=${PIPESTATUS[0]} # make the job a success if the above git push fails due to no new changes are needed -- 2.25.1