blob: 0ffa48d6ed406da7d39c70f9adc5a321b65ebeb8 (
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="onap.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
|