From a10cb5e7dacbd92ad1fdbbd1e2b19f7e0a4c2010 Mon Sep 17 00:00:00 2001 From: Mark Paluch Date: Tue, 6 Jun 2017 11:41:17 +0200 Subject: [PATCH] #365 - Conditionally update documentation and schema target permissions. We now skip documentation and schema permission updates if these directories are not present on the remote server. Directories can be absent if a particular module does not ship with a schema or documentation. Unconditional permission updates let find exit with a non-zero return code which causes the build to fail. --- parent/pom.xml | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/parent/pom.xml b/parent/pom.xml index 47f91cf6..e0db7524 100644 --- a/parent/pom.xml +++ b/parent/pom.xml @@ -526,10 +526,24 @@ sshexec - + - find /var/www/domains/spring.io/www/htdocs/autorepo/schema/${dist.id}/${project.version}/ ! -perm -g=w -exec chmod g+w {} \; - find /var/www/domains/spring.io/www/htdocs/autorepo/docs/${dist.id}/${project.version}/ ! -perm -g=w -exec chmod g+w {} \; + + + + + +