projects
/
services
/
jenkins-scripts.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5bc5a1f
)
Fix a test-trigger-info-update job error
35/163135/1
author
Yonghee Han
<onstudy@samsung.com>
Thu, 7 Dec 2017 10:27:03 +0000
(19:27 +0900)
committer
Yonghee Han
<onstudy@samsung.com>
Thu, 7 Dec 2017 10:27:03 +0000
(19:27 +0900)
Fix a branch name for searching a branch in project name.
Change-Id: Idb8cc391fa69c7727b07acc2b51cf331e27ec65b
job_test_trigger_info_update.py
patch
|
blob
|
history
diff --git
a/job_test_trigger_info_update.py
b/job_test_trigger_info_update.py
index
1aaa195
..
1ad23ec
100644
(file)
--- a/
job_test_trigger_info_update.py
+++ b/
job_test_trigger_info_update.py
@@
-110,6
+110,8
@@
def main():
target_project, branch = \
re.search(r'home:prerelease:(.*):submit:(.*):[0-9]{8}.[0-9]{6}', \
project).groups()
+ # Fix Branch name: search a branch in project name.
+ branch = branch.replace(':','/')
except Exception as err:
raise LocalError('Cannot determine target branch (%s)' % err)