blob: 4e6a5e19f68f700212b4a6d001cbaab59110c008 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
tests_base="/var/lib/tests"
ci_test_suite="#{ENV['SUITE_NAME']}.xml"
bash "echo status" do
code <<-EOH
echo "DOCKER STARTED"
EOH
end
bash "run asdc ci sanity tests" do
cwd "#{tests_base}"
code <<-EOH
cd "#{tests_base}"
jar_file=`ls test-apis*-jar-with-dependencies.jar`
./startTest.sh $jar_file #{ci_test_suite} > #{tests_base}/target/startTest.log 2>&1
echo "return code from startTest.sh = [$?]"
echo "DOCKER STARTED"
EOH
end
|