summaryrefslogtreecommitdiff
path: root/app/services
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2016-06-07 10:25:57 +0200
committerKamil Trzcinski <ayufan@ayufan.eu>2016-06-07 10:25:57 +0200
commitdbf235f514cc919a10fee1d9ab8dc1c75bc25238 (patch)
tree5f2fee6a68c3164fdf4cf101d5f5dbbbc6cfac37 /app/services
parent4e38d88df50d85d076110c8b78aaac78772d9554 (diff)
downloadgitlab-ce-dbf235f514cc919a10fee1d9ab8dc1c75bc25238.tar.gz
Fix tests failures
Diffstat (limited to 'app/services')
-rw-r--r--app/services/ci/create_builds_service.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/ci/create_builds_service.rb b/app/services/ci/create_builds_service.rb
index 41ce6982cbe..64bcdac5c65 100644
--- a/app/services/ci/create_builds_service.rb
+++ b/app/services/ci/create_builds_service.rb
@@ -5,7 +5,7 @@ module Ci
end
def execute(stage, user, status, trigger_request = nil)
- builds_attrs = config_processor.builds_for_stage_and_ref(stage, @commit.ref, @commit.tag, trigger_request)
+ builds_attrs = config_processor.builds_for_stage_and_ref(stage, @pipeline.ref, @pipeline.tag, trigger_request)
# check when to create next build
builds_attrs = builds_attrs.select do |build_attrs|