backup_jenkins 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -56,7 +56,7 @@ module BackupJenkins
56
56
  end
57
57
 
58
58
  def jobs_files
59
- `find #{config.jenkins["home"]} -maxdepth 3 -name config.xml -or -name nextBuildNumber`.split(/\n/)
59
+ `find #{config.jenkins["home"]}/jobs -maxdepth 3 -name config.xml -or -name nextBuildNumber`.split(/\n/)
60
60
  end
61
61
 
62
62
  def create_tarball
@@ -1,3 +1,3 @@
1
1
  module BackupJenkins
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
@@ -143,7 +143,7 @@ describe BackupJenkins::Backup do
143
143
 
144
144
  it "should return the config.xml and nextBuildNumber files in job directories" do
145
145
  subject.should_receive(:`).
146
- with("find home -maxdepth 3 -name config.xml -or -name nextBuildNumber").
146
+ with("find home/jobs -maxdepth 3 -name config.xml -or -name nextBuildNumber").
147
147
  and_return("file1\nfile2\nfile3")
148
148
  subject.jobs_files.should == %w(file1 file2 file3)
149
149
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: backup_jenkins
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -87,7 +87,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
87
87
  version: '0'
88
88
  segments:
89
89
  - 0
90
- hash: 4004336511886915076
90
+ hash: 2087000532683624378
91
91
  required_rubygems_version: !ruby/object:Gem::Requirement
92
92
  none: false
93
93
  requirements:
@@ -96,7 +96,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
96
96
  version: '0'
97
97
  segments:
98
98
  - 0
99
- hash: 4004336511886915076
99
+ hash: 2087000532683624378
100
100
  requirements: []
101
101
  rubyforge_project:
102
102
  rubygems_version: 1.8.24