-
Notifications
You must be signed in to change notification settings - Fork 0
/
runAuto
executable file
·20 lines (13 loc) · 1.24 KB
/
runAuto
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/bash
export DISPLAY=:0
export SIKULI_HOME=~/Sikuli-X-1.0rc3-linux-x86_64/Sikuli-IDE
#export PATH=/var/lib/jenkins/.rvm/gems/jruby-1.7.19/bin:/var/lib/jenkins/.rvm/gems/jruby-1.7.19@global/bin:/var/lib/jenkins/.rvm/rubies/jruby-1.7.19/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/var/lib/jenkins/.rvm/bin:/var/lib/jenkins/.rvm/bin:/var/lib/jenkins/Sikuli-X-1.0rc3-linux-x86_64/Sikuli-IDE:/var/lib/jenkins/Sikuli-X-1.0rc3-linux-x86_64/Sikuli-IDE/libs
export PATH=$PATH:/var/lib/jenkins/.rvm/bin:/var/lib/jenkins/.rvm/gems/jruby-1.7.19/bin:/var/lib/jenkins/.rvm/gems/jruby-1.7.19@global/bin:/var/lib/jenkins/.rvm/rubies/jruby-1.7.19/bin:/var/lib/jenkins/Sikuli-X-1.0rc3-linux-x86_64/Sikuli-IDE:/var/lib/jenkins/Sikuli-X-1.0rc3-linux-x86_64/Sikuli-IDE/libs
export GEM_PATH=/var/lib/jenkins/.rvm/gems/jruby-1.7.19:/var/lib/jenkins/.rvm/gems/jruby-1.7.19@global
#~/sikuli/sikuli/runIDE -r first.sikuli
#the following line loads RVM into the shell "as a function"
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm"
cd simpleAutoAndManual
#cucumber --format json --out reports.json
cucumber --tags @automatedFeature --format json --out auto_reports.json
#extra line for git commit from Linux