Add autodeploy properties task to rakefile
This commit is contained in:
10
rakefile
10
rakefile
@@ -227,3 +227,13 @@ namespace :cms do
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
desc "Build a properties file used to trigger autodeploy builds"
|
||||
task :autodeploy_properties do
|
||||
File.open("autodeploy.properties", "w") do |file|
|
||||
file.puts("UPSTREAM_NOOP=false")
|
||||
file.puts("UPSTREAM_BRANCH=#{BRANCH}")
|
||||
file.puts("UPSTREAM_JOB=#{PACKAGE_NAME}")
|
||||
file.puts("UPSTREAM_REVISION=#{COMMIT}")
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user