lib/jenkins/builder/cli.rb in jenkins-builder-0.1.2 vs lib/jenkins/builder/cli.rb in jenkins-builder-0.1.3

- old
+ new

@@ -25,10 +25,10 @@ exec("#{editor} #{File.expand_path('~/.jenkins-builder.yaml')}") else url = read_text('Input Jenkins URL: ') username = read_text('Input Username: ') password = read_password('Input Password: ') - git_branches = read_text('Input Git Branches: ').split(/\s*,\s*/) + git_branches = read_text('Input Git Branches separated by comma, e.g. origin/develop,origin/master: ').split(/\s*,\s*/) Jenkins::Builder::App.new.setup(url: url, username: username, password: password, branches: git_branches) end end