Top Level Namespace

Defined Under Namespace

Modules: JenkinsCLI Classes: JenkinsController

Constant Summary collapse

DEFAULT_JENKINS_URL =
"http://localhost:8080"
OPTIONS =

TODO(viet): Add the ability to search jobs with prefixes. TODO(viet): Add the ability to show more detail of specific jobs (e.g. labels, repos, lastSuccess, jobStatus)

Trollop::options do
  opt :jenkins_url, "Jenkins main URL", :default => DEFAULT_JENKINS_URL
  opt :user, "Jenkins username", :default => nil, :type => String
  opt :password, "Jenkins password", :default => nil, :type => String  
end
DEFAULT_SSH_USER =
"role-c3"