lib/tasks/install.rake in knapsack_pro-0.28.1 vs lib/tasks/install.rake in knapsack_pro-0.29.0

- old
+ new

@@ -186,10 +186,17 @@ puts set_api_tokens_on_ci(prompt, answers) end +def step_for_ci_jenkins(prompt, answers) + prompt.say "Step for Jenkins", color: :yellow + prompt.say "Please visit page to see example Jenkinsfile:" + prompt.say "https://github.com/KnapsackPro/knapsack_pro-ruby#info-for-jenkins-users" + puts +end + def step_for_ci_other(prompt, answers) prompt.say "Step for other CI provider", color: :yellow prompt.say "Set below global variables on your CI server." puts @@ -282,10 +289,11 @@ 'https://circleci.com' => :circle, 'https://travis-ci.org' => :travis, 'https://buildkite.com' => :buildkite, 'https://semaphoreci.com' => :semaphore, 'https://snap-ci.com' => :snap_ci, + 'Jenkins' => :jenkins, 'other' => :other, } answers[:ci] = prompt.select("What is your CI provider?", CI_PROVIDER_CHOICES) puts @@ -306,12 +314,17 @@ puts end send("step_for_ci_#{answers[:ci]}", prompt, answers) + prompt.say "Final step", color: :yellow prompt.say "Now you are ready to use the gem!" + puts prompt.say "Please push a new commit to repository so knapsack_pro gem will record time execution of your test suite." - prompt.say "Your second test suite run on CI will be parallelized with optimal test suite split." + puts + prompt.say "Go to user dashboard https://knapsackpro.com/dashboard and click build metrics link next to your API token. Click show link on recent build and ensure the time execution data were recorded for all your CI nodes. You should see info that build subsets were collected." + puts + prompt.say "Your second test suite run on CI will be parallelized with optimal test suite split if first run was recorded correctly." puts puts prompt.say "Later you may want to learn about Queue Mode and how to enable it:" prompt.say "https://github.com/KnapsackPro/knapsack_pro-ruby#queue-mode" puts