Code Review
/
releng
/
global-jjb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Fix: Handle error in job-cost.sh without failing
[releng/global-jjb.git]
/
shell
/
release-job.sh
diff --git
a/shell/release-job.sh
b/shell/release-job.sh
index
792cbdd
..
6c280d2
100644
(file)
--- a/
shell/release-job.sh
+++ b/
shell/release-job.sh
@@
-365,11
+365,12
@@
tag-git-repo(){
fi
git config user.name "$RELEASE_USERNAME"
git config user.email "$RELEASE_EMAIL"
fi
git config user.name "$RELEASE_USERNAME"
git config user.email "$RELEASE_EMAIL"
+ echo "INFO: push tag: $GIT_TAG"
+ git push origin "$GIT_TAG"
# Check if sentinal file exists
if [[ -f .testhash ]]; then
# Check if sentinal file exists
if [[ -f .testhash ]]; then
- git push origin "${GERRIT_BRANCH}" "$GIT_TAG"
- else
- git push origin "$GIT_TAG"
+ echo "INFO: push code bundle"
+ git push origin "HEAD:${GERRIT_REFSPEC}"
fi
fi
fi
fi
fi
fi
@@
-481,6
+482,8
@@
maven_release_file(){
git fetch "$PATCH_DIR/${PROJECT//\//-}.bundle"
git merge --ff-only FETCH_HEAD
git fetch "$PATCH_DIR/${PROJECT//\//-}.bundle"
git merge --ff-only FETCH_HEAD
+ # print last few changes to see how the bundle is applied
+ git log --graph --all --decorate --pretty=oneline -n10
nexus_release
tag-git-repo
}
nexus_release
tag-git-repo
}