-
Notifications
You must be signed in to change notification settings - Fork 676
Jenkins and Gitblit integration - ticket branch to sprint branch merge using git hooks #1416
Unanswered
vinothsundararajan
asked this question in
Q&A
-
Is there anyway to run post-receive groovy hook scripts once Gitblit ticket merged to sprint branch (default branch for two weeks sprint)
I able to see custom groovy script was able to executed, when local branch pushed to remote branch.
May 10 09:59:35 docker server: 2022年05月10日 09:59:35 [INFO ] ARF: authenticated admin to python.git/info/refs?service=git-receive-pack (100)
May 10 09:59:35 docker server: 2022年05月10日 09:59:35 [INFO ] ARF: authenticated admin to python.git/git-receive-pack (100)
May 10 09:59:35 docker server: 2022年05月10日 09:59:35 [INFO ] admin UPDATED refs/heads/master1 in python.git (from e5eb17e69ad5b3a034336682c6bde64e295057e8 to ea124cba5161732e9e0dd8b38d496cd30660818f)
May 10 09:59:35 docker server: 2022年05月10日 09:59:35 [INFO ] Jenkins-Githook hook triggered by admin for python.git
likewise, i was trying to invoke custom groovy scripts for ticket merge to Sprint branch (master1)
May 10 09:58:04 docker server: 2022年05月10日 09:58:04 [INFO ] Verifying python.git push ref "refs/heads/ticket/4" received from admin
May 10 09:58:04 docker server: 2022年05月10日 09:58:04 [INFO ] #4: ISSUE-4 (admin)
May 10 09:58:04 docker server: 2022年05月10日 09:58:04 [INFO ] uploaded patchset 9 (rebase) (admin)
May 10 09:58:04 docker server: 2022年05月10日 09:58:04 [INFO ] /tickets?r=python.git&h=4 (admin)
May 10 09:58:08 docker server: 2022年05月10日 09:58:08 [INFO ] 3 repository models loaded for admin in 11 msecs
May 10 09:58:28 docker server: 2022年05月10日 09:58:28 [INFO ] admin UPDATED refs/heads/master1 in python.git (from c21bab4824fe90678102ea05c1cb6a69e7f4aeba to e5eb17e69ad5b3a034336682c6bde64e295057e8)
Beta Was this translation helpful? Give feedback.
All reactions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment