Class: Jenkins::ProjectScm
Direct Known Subclasses
Class Method Summary collapse
Class Method Details
.discover(scm) ⇒ Object
4 5 6 |
# File 'lib/jenkins/project_scm.rb', line 4 def self.discover(scm) ProjectScmGit.new(scm) if File.exist?(".git") && File.directory?(".git") end |
.supported ⇒ Object
8 9 10 |
# File 'lib/jenkins/project_scm.rb', line 8 def self.supported %w[git] end |