ruby

Ruby code posted
created at 05 Jan 14:14

Edit | Back
1
2
3
4
5
6
7
  def migrateAllBuildsFrom(fromInstance, toInstance, view)
    listAllJobsFromView(view).each {
        |job|  @config = fromInstance.job.get_config(job),

           toInstance.job.create(job, @config)
    }
  end
220 Bytes in 6 ms with coderay