Fix yamllint for daexim
[releng/builder.git] / jjb / releng-templates-java.yaml
index aa6caa13c92870785d88ee5ea68f53d11d7620cc..87a2dd943e93f579be8cae0bce737d0d298e3c9c 100644 (file)
@@ -94,7 +94,7 @@
             refspec: '$GERRIT_REFSPEC'
             branch: '{branch}'
         - integration-distribution-scm:
-            branch: '{branch}'
+            branch: '{distribution_branch}'
 
     wrappers:
         - opendaylight-infra-wrappers:
         - 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.