Move tests to .jjb-test 39/6039/1
authorThanh Ha <thanh.ha@linuxfoundation.org>
Fri, 18 Aug 2017 18:56:32 +0000 (14:56 -0400)
committerThanh Ha <thanh.ha@linuxfoundation.org>
Fri, 18 Aug 2017 18:57:40 +0000 (14:57 -0400)
JJB by default ignores paths that start with '.' so take advantage of
that and move our tests there. This way end users do not need to make
any changes to their local environment to handle the new jjb-test
directory.

Change-Id: I9bd85a43d76cf1dfcb02e327f097cd6551366d1b
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
27 files changed:
.jjb-test/defaults.yaml [moved from jjb-test/defaults.yaml with 100% similarity]
.jjb-test/expected-xml/gerrit-ciman-jjb-merge [moved from jjb-test/expected-xml/gerrit-ciman-jjb-merge with 100% similarity]
.jjb-test/expected-xml/gerrit-ciman-jjb-verify [moved from jjb-test/expected-xml/gerrit-ciman-jjb-verify with 100% similarity]
.jjb-test/expected-xml/gerrit-ciman-packer-merge-centos-java-builder [moved from jjb-test/expected-xml/gerrit-ciman-packer-merge-centos-java-builder with 100% similarity]
.jjb-test/expected-xml/gerrit-ciman-packer-merge-centos-mininet [moved from jjb-test/expected-xml/gerrit-ciman-packer-merge-centos-mininet with 100% similarity]
.jjb-test/expected-xml/gerrit-ciman-packer-merge-ubuntu1604-java-builder [moved from jjb-test/expected-xml/gerrit-ciman-packer-merge-ubuntu1604-java-builder with 100% similarity]
.jjb-test/expected-xml/gerrit-ciman-packer-merge-ubuntu1604-mininet [moved from jjb-test/expected-xml/gerrit-ciman-packer-merge-ubuntu1604-mininet with 100% similarity]
.jjb-test/expected-xml/gerrit-ciman-packer-verify [moved from jjb-test/expected-xml/gerrit-ciman-packer-verify with 100% similarity]
.jjb-test/expected-xml/gerrit-maven-maven-clm-master [moved from jjb-test/expected-xml/gerrit-maven-maven-clm-master with 100% similarity]
.jjb-test/expected-xml/gerrit-maven-maven-release-master [moved from jjb-test/expected-xml/gerrit-maven-maven-release-master with 100% similarity]
.jjb-test/expected-xml/gerrit-maven-maven-verify-master-mvn33-openjdk8 [moved from jjb-test/expected-xml/gerrit-maven-maven-verify-master-mvn33-openjdk8 with 100% similarity]
.jjb-test/expected-xml/gerrit-python-tox-verify-master [moved from jjb-test/expected-xml/gerrit-python-tox-verify-master with 100% similarity]
.jjb-test/expected-xml/github-ciman-jjb-merge [moved from jjb-test/expected-xml/github-ciman-jjb-merge with 100% similarity]
.jjb-test/expected-xml/github-ciman-jjb-verify [moved from jjb-test/expected-xml/github-ciman-jjb-verify with 100% similarity]
.jjb-test/expected-xml/github-ciman-packer-merge-centos-java-builder [moved from jjb-test/expected-xml/github-ciman-packer-merge-centos-java-builder with 100% similarity]
.jjb-test/expected-xml/github-ciman-packer-merge-centos-mininet [moved from jjb-test/expected-xml/github-ciman-packer-merge-centos-mininet with 100% similarity]
.jjb-test/expected-xml/github-ciman-packer-merge-ubuntu1604-java-builder [moved from jjb-test/expected-xml/github-ciman-packer-merge-ubuntu1604-java-builder with 100% similarity]
.jjb-test/expected-xml/github-ciman-packer-merge-ubuntu1604-mininet [moved from jjb-test/expected-xml/github-ciman-packer-merge-ubuntu1604-mininet with 100% similarity]
.jjb-test/expected-xml/github-ciman-packer-verify [moved from jjb-test/expected-xml/github-ciman-packer-verify with 100% similarity]
.jjb-test/expected-xml/github-maven-maven-clm-master [moved from jjb-test/expected-xml/github-maven-maven-clm-master with 100% similarity]
.jjb-test/expected-xml/github-maven-maven-release-master [moved from jjb-test/expected-xml/github-maven-maven-release-master with 100% similarity]
.jjb-test/expected-xml/github-maven-maven-verify-master-mvn33-openjdk8 [moved from jjb-test/expected-xml/github-maven-maven-verify-master-mvn33-openjdk8 with 100% similarity]
.jjb-test/expected-xml/github-python-tox-verify-master [moved from jjb-test/expected-xml/github-python-tox-verify-master with 100% similarity]
.jjb-test/lf-ci-jobs.yaml [moved from jjb-test/lf-ci-jobs.yaml with 100% similarity]
.jjb-test/lf-maven-jobs.yaml [moved from jjb-test/lf-maven-jobs.yaml with 100% similarity]
.jjb-test/lf-python-jobs.yaml [moved from jjb-test/lf-python-jobs.yaml with 100% similarity]
jjb-compare-xml.sh

index 5017674..d1ed43c 100755 (executable)
 
 test_dir=$(mktemp -d)
 script_dir=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
-expected_xml_dir="$script_dir/jjb-test/expected-xml"
+expected_xml_dir="$script_dir/.jjb-test/expected-xml"
 
 echo "Script Directory: $script_dir"
 echo "Test Directory: $test_dir"
 
-jenkins-jobs test --recursive -o "$test_dir" "$script_dir"
+jenkins-jobs test --recursive -o "$test_dir" "$script_dir":.jjb-test
 
 fail=false
 for xml in "$test_dir"/*; do