mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 14:47:19 -04:00
- jobs dir.
This commit is contained in:
parent
3c36390b1e
commit
b9a64717e3
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ plugins.each do |path|
|
|||
job = path.gsub(/.*\/([^\/]+)\/([^\/]+)\.rb$/, '\1-\2')
|
||||
plugin_path = path.gsub(/.*\/([^\/]+)\/([^\/]+)$/, '\1/\2')
|
||||
|
||||
jobdir = File.join(ENV["JENKINS_HOME"], job)
|
||||
jobdir = File.join(ENV["JENKINS_HOME"], "jobs", job)
|
||||
puts "Writing #{jobdir}/config.xml"
|
||||
Dir.mkdir(jobdir) if !Dir.exists?(jobdir)
|
||||
File.write(File.join(jobdir, "config.xml"), template.result(binding))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue