Ignore Dockerfiles in golang vendor directory
Change-Id: I94f0aa998ab84076a6ff1cee881fb02595c77927
diff --git a/jjb/shell/tagcollisionreject.sh b/jjb/shell/tagcollisionreject.sh
index 7a2307a..85015d4 100755
--- a/jjb/shell/tagcollisionreject.sh
+++ b/jjb/shell/tagcollisionreject.sh
@@ -123,7 +123,7 @@
done
- done < <( find "${WORKSPACE}" -name 'Dockerfile*' -print0 )
+ done < <( find "${WORKSPACE}" -name 'Dockerfile*' ! -path "*/vendor/*" -print0 )
}
echo "Checking git repo with remotes:"
diff --git a/jjb/shell/versiontag.sh b/jjb/shell/versiontag.sh
index 96e8568..669aeec 100755
--- a/jjb/shell/versiontag.sh
+++ b/jjb/shell/versiontag.sh
@@ -124,7 +124,7 @@
done
- done < <( find "${WORKSPACE}" -name 'Dockerfile*' -print0 )
+ done < <( find "${WORKSPACE}" -name 'Dockerfile*' ! -path "*/vendor/*" -print0 )
}