diff options
author | Will Holland <william.holland@codethink.co.uk> | 2015-10-01 01:22:32 +0100 |
---|---|---|
committer | Will Holland <william.holland@codethink.co.uk> | 2015-10-01 01:22:32 +0100 |
commit | 47e990cb1a3e47f47681a669597ef320afb3b7e1 (patch) | |
tree | d0c388ec4593ff6a95e3654acf278db0af1105aa | |
parent | bbf627de90883e0b05d71dcc11db9cad3a07d372 (diff) | |
download | orchestration-47e990cb1a3e47f47681a669597ef320afb3b7e1.tar.gz |
Workaround for refs/heads
-rw-r--r-- | source/bottlerock.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/bottlerock.py b/source/bottlerock.py index 2690d05..f895b4d 100644 --- a/source/bottlerock.py +++ b/source/bottlerock.py @@ -87,7 +87,7 @@ def repo_update(): # if baseref changes then trigger firehose properties = {'repo_name':repo_name,'ref':ref} return sendchange('repo_update',properties) - elif ref in candidate_refs: + elif ref in candidate_refs or ref.replace('refs/heads/','') in candidate_refs: # if a candidate ref changes then trigger that pipeline pipeline = configure.pipeline_from_candidate_ref(ref) properties = {"ref":ref,"sha":sha} |