Module: Blinky::TestCiServer

Defined in:
lib/ci_server_plugins/test_server_plugin.rb

Instance Method Summary collapse

Instance Method Details

#watch_test_serverObject



3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# File 'lib/ci_server_plugins/test_server_plugin.rb', line 3

def watch_test_server
  puts "BUILDING!"
  building!
  sleep(2)
  puts "-"

  puts "BUILD FAILED!"
  failure!
  sleep(2)
  puts "-"

  puts "BUILDING!\n"
  building!
  sleep(2)
  puts "-"

  puts "WARNING!\n"
  warning!
  sleep(2)
  puts "-"

  puts "BUILDING!\n"
  building!
  sleep(2)
  puts "-"

  puts "BUILD PASSED!\n"
  success!
  sleep(2)
  puts "-"

  puts "TEST OVER\n"
  off!

end