From 3853b9ff4faed759d44a77fb49980e9bed849ae0 Mon Sep 17 00:00:00 2001 From: Andrei Selkin Date: Fri, 3 Feb 2017 23:20:57 +0300 Subject: [PATCH] infra: Update CIs configs to use cli options names of launch.groovy --- .ci/travis/travis.sh | 16 ++++++++-------- circle.yml | 4 ++-- wercker.yml | 2 +- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.ci/travis/travis.sh b/.ci/travis/travis.sh index f42b79e73..e826e3810 100755 --- a/.ci/travis/travis.sh +++ b/.ci/travis/travis.sh @@ -72,7 +72,7 @@ no-exception-test-checkstyle-sevntu-checkstyle) cd ../../ mvn clean install -Pno-validations cd contribution/checkstyle-tester - groovy ./launch.groovy projects-for-travis.properties checks-nonjavadoc-error.xml + groovy ./launch.groovy ---listOfProjects projects-for-travis.properties --checkstyleCfg checks-nonjavadoc-error.xml ;; no-exception-test-guava) @@ -83,7 +83,7 @@ no-exception-test-guava) cd ../../ mvn clean install -Pno-validations cd contribution/checkstyle-tester - groovy ./launch.groovy projects-for-travis.properties checks-nonjavadoc-error.xml + groovy ./launch.groovy ---listOfProjects projects-for-travis.properties --checkstyleCfg checks-nonjavadoc-error.xml ;; no-exception-test-guava-with-google-checks) @@ -106,7 +106,7 @@ no-exception-test-hibernate) cd ../../ mvn clean install -Pno-validations cd contribution/checkstyle-tester - groovy ./launch.groovy projects-for-travis.properties checks-nonjavadoc-error.xml + groovy ./launch.groovy ---listOfProjects projects-for-travis.properties --checkstyleCfg checks-nonjavadoc-error.xml ;; no-exception-test-findbugs) @@ -117,7 +117,7 @@ no-exception-test-findbugs) cd ../../ mvn clean install -Pno-validations cd contribution/checkstyle-tester - groovy ./launch.groovy projects-for-travis.properties checks-nonjavadoc-error.xml + groovy ./launch.groovy ---listOfProjects projects-for-travis.properties --checkstyleCfg checks-nonjavadoc-error.xml ;; no-exception-test-spring-framework) @@ -128,7 +128,7 @@ no-exception-test-spring-framework) cd ../../ mvn clean install -Pno-validations cd contribution/checkstyle-tester - groovy ./launch.groovy projects-for-travis.properties checks-nonjavadoc-error.xml + groovy ./launch.groovy ---listOfProjects projects-for-travis.properties --checkstyleCfg checks-nonjavadoc-error.xml ;; no-exception-test-hbase) @@ -139,7 +139,7 @@ no-exception-test-hbase) cd ../../ mvn clean install -Pno-validations cd contribution/checkstyle-tester - groovy ./launch.groovy projects-for-travis.properties checks-nonjavadoc-error.xml + groovy ./launch.groovy ---listOfProjects projects-for-travis.properties --checkstyleCfg checks-nonjavadoc-error.xml ;; no-exception-test-Pmd-elasticsearch-lombok-ast) @@ -152,7 +152,7 @@ no-exception-test-Pmd-elasticsearch-lombok-ast) cd ../../ mvn clean install -Pno-validations cd contribution/checkstyle-tester - groovy ./launch.groovy projects-for-travis.properties checks-nonjavadoc-error.xml + groovy ./launch.groovy ---listOfProjects projects-for-travis.properties --checkstyleCfg checks-nonjavadoc-error.xml ;; no-exception-test-alot-of-project1) @@ -168,7 +168,7 @@ no-exception-test-alot-of-project1) cd ../../ mvn clean install -Pno-validations cd contribution/checkstyle-tester - groovy ./launch.groovy projects-for-travis.properties checks-nonjavadoc-error.xml + groovy ./launch.groovy ---listOfProjects projects-for-travis.properties --checkstyleCfg checks-nonjavadoc-error.xml ;; *) diff --git a/circle.yml b/circle.yml index e1093dd20..08aa21b98 100644 --- a/circle.yml +++ b/circle.yml @@ -19,10 +19,10 @@ machine: DEP1: " && sed -i.'' 's/^guava/#guava/' projects-to-test-on.properties" # we need this to let pass 'mvn site' on no-projects mode to download all dependecies DEP2: " && echo 'class ClassEmpty{}' > src/main/java/EmptyClass.java" - DEP3: " && /home/ubuntu/checkstyle/groovy-2.4.7/bin/groovy launch.groovy projects-for-circle.properties my_check.xml" + DEP3: " && /home/ubuntu/checkstyle/groovy-2.4.7/bin/groovy launch.groovy --listOfProjects projects-for-circle.properties --checkstyleCfg my_check.xml" TESTER_DEPENDENCIES: $CMD1$DEP1$DEP2$DEP3 CMD2: " && sed -i.'' 's/^openjdk/#openjdk/' projects-for-circle.properties" - CMD3: " && /home/ubuntu/checkstyle/groovy-2.4.7/bin/groovy launch.groovy projects-for-circle.properties checks-nonjavadoc-error.xml" + CMD3: " && /home/ubuntu/checkstyle/groovy-2.4.7/bin/groovy launch.groovy --listOfProjects projects-for-circle.properties --checkstyleCfg checks-nonjavadoc-error.xml" OPENJDK7: " && sed -i.'' 's/#openjdk7/openjdk7/' projects-for-circle.properties" OPENJDK8: " && sed -i.'' 's/#openjdk8/openjdk8/' projects-for-circle.properties" OPENJDK9: " && sed -i.'' 's/#openjdk9/openjdk9/' projects-for-circle.properties" diff --git a/wercker.yml b/wercker.yml index b4990bd2e..0c22a19e4 100644 --- a/wercker.yml +++ b/wercker.yml @@ -84,4 +84,4 @@ build: && git clone https://github.com/checkstyle/contribution && cd contribution/checkstyle-tester && cd ../../ && mvn clean install -Pno-validations && cd contribution/checkstyle-tester - && groovy ./launch.groovy projects-for-wercker.properties checks-nonjavadoc-error.xml + && groovy ./launch.groovy --listOfProjects projects-for-wercker.properties --checksyleCfg checks-nonjavadoc-error.xml