Fix yamllint for netconf
[releng/builder.git] / jjb / releng-templates-java.yaml
index 16047537cc1532572b96d71ae1394168e8247b26..87a2dd943e93f579be8cae0bce737d0d298e3c9c 100644 (file)
         - shell: |
             mkdir -p /tmp/t/org/opendaylight/$GERRIT_PROJECT
             mv /tmp/n/org/opendaylight/$GERRIT_PROJECT/* /tmp/t/org/opendaylight/$GERRIT_PROJECT/
-            test -z `find /tmp/n/ -type f`
+            test `find /tmp/n/ -type f | wc -l` -eq 0
             rm -rf /tmp/n
             mv /tmp/t /tmp/n
         # Step three: Online build of integration distribution.