Skip to content
Snippets Groups Projects
Commit 108d8cdc authored by Bo-Chun Chen's avatar Bo-Chun Chen
Browse files

Relocate branch_name variable

parent 123ce45c
No related branches found
No related tags found
6 merge requests!147Merge previous default branch feat-cod-rmq into main,!85kill nginx process running under user from login node,!51Fix acct create wait,!39WIP:Feat cod rmq,!38WIP: Feat cod rmq,!21Feat git commit agent
......@@ -23,10 +23,10 @@ def git_commit(ch, method, properties, body):
ticketnum = msg.get('ticketnum', 'add-users-' + username.lower())
DEBUG = msg.get('debug', False)
success = False
branch_name = 'issue-' + ticketnum
try:
branch_name = 'issue-' + ticketnum
git.checkout('master')
git.pull()
git.checkout('-b', branch_name)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment