lib/cicd/builder/mixlib/environment.rb in cicd-builder-0.9.52 vs lib/cicd/builder/mixlib/environment.rb in cicd-builder-0.9.57
- old
+ new
@@ -64,10 +64,10 @@
if ENV.has_key?('BUILD_STORE')
@vars[:build_store] = "#{ENV['BUILD_STORE']}"
end
if ENV.has_key?('BRANCH')
- @vars[:branch] = "#{ENV['BRANCH']}"
+ @vars[:branch] = "#{ENV['BRANCH'].gsub(%r'\/','.')}"
end
if ENV.has_key?('VARIANT')
@vars[:variant] = "#{ENV['VARIANT']}"
end
\ No newline at end of file