Build sanity docker execute automation
[sdc.git] / sdc-os-chef / sdc-sanity / chef-repo / cookbooks / sdc-sanity / recipes / sanityTests_3_sanity_execution.rb
1 tests_base="/var/lib/tests"
2 ci_test_suite="onap.xml"
3
4 bash "run asdc ci sanity tests" do
5 cwd "#{tests_base}"
6 code <<-EOH
7    cd "#{tests_base}"
8    jar_file=`ls test-apis*-jar-with-dependencies.jar`
9    ./startTest.sh $jar_file #{ci_test_suite}
10    echo "return code from startTest.sh = [$?]"
11 EOH
12 timeout 72000
13 end