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:
cff8b91
)
Missing work_branch init routine
39/212039/2
author
Hyokeun Jeon
<hyokeun.jeon@samsung.com>
Tue, 13 Aug 2019 12:05:12 +0000
(21:05 +0900)
committer
Hyokeun Jeon
<hyokeun.jeon@samsung.com>
Tue, 13 Aug 2019 12:22:44 +0000
(21:22 +0900)
Change-Id: If51f6d2a3ab19e8b09f8399533f5017569825fd8
job_submit.py
patch
|
blob
|
history
diff --git
a/job_submit.py
b/job_submit.py
index
52409db
..
28820ec
100755
(executable)
--- a/
job_submit.py
+++ b/
job_submit.py
@@
-495,6
+495,8
@@
def main(build_type, build, event, sr_count):
# get project mappings from git-obs-mapping and git-ref-mapping
if git_branch.endswith('_tpk'): # ABS - mappings w/o _tpk postfix(only for profiles).
+ # Set default to the current branch
+ work_branch = git_branch
if os.getenv('ABS_SUPPORTED_PROFILES', None):
for sp in os.getenv('ABS_SUPPORTED_PROFILES').split(','):
work_branch = work_branch.replace('_%s_tpk' % sp.lower(), '')