director/lib/director/jobs/update_release.rb
def next_template_version(name, version)
        attrs = {
          :release_id => @release_model.id,
          :name => name
        }

        next_version(Models::Template.filter(attrs).all, version)
      end
# Returns the next job template version (to be used for rebased template)
# @param [String] name Template name
# @param [Fixnum] version Template version
# @return [String]
Returns the next job template version (to be used for rebased template)
Returns the next job template version ( to be used for rebased template )
def next_template_version(name, version)
        attrs = {
          :release_id => @release_model.id,
          :name => name
        }
        next_version(Models::Template.filter(attrs).all, version)
      end
def next_template_version ( name , version ) attrs = { :release_id => @release_model . id , :name => name } next_version ( Models :: Template . filter ( attrs ) . all , version ) end
Returns the next job template version (to be used for rebased template)
Returns the next job template version ( to be used for rebased template )
None
String
name
version
version Template version
version Template version