aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimoney, Dan (dt5972) <dt5972@att.com>2018-04-26 15:58:05 -0400
committerTimoney, Dan (dt5972) <dt5972@att.com>2018-04-26 15:58:05 -0400
commit1048c5f1da1b2d15ec389799ca1082fe6a5d2e6d (patch)
treeaca09b4d2d40d1e0743508f8d9b87ef445aba87d
parentab93e4f6de3d0cc8abb707f98fc11b376a70e6fe (diff)
Fix shell permissions
Set execute permission on shell script Change-Id: I5b2d94067f8a77fbfb1d2310368f1b1d78a2b834 Issue-ID: SDNC-288 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com> Former-commit-id: d83d0cdc37715ce9547b8896cc31915f1c5c6da5
-rw-r--r--installation/ansible-server/pom.xml22
1 files changed, 21 insertions, 1 deletions
diff --git a/installation/ansible-server/pom.xml b/installation/ansible-server/pom.xml
index 76ee8aa9..6078a2c4 100644
--- a/installation/ansible-server/pom.xml
+++ b/installation/ansible-server/pom.xml
@@ -129,7 +129,7 @@
<version>1.5.0</version>
<executions>
<execution>
- <id>change shell permissions</id>
+ <id>change python permissions</id>
<phase>process-sources</phase>
<goals>
<goal>exec</goal>
@@ -148,6 +148,26 @@
</arguments>
</configuration>
</execution>
+ <execution>
+ <id>change shell permissions</id>
+ <phase>process-sources</phase>
+ <goals>
+ <goal>exec</goal>
+ </goals>
+ <configuration>
+ <executable>/usr/bin/find</executable>
+ <arguments>
+ <argument>${basedir}/target/docker-stage/opt/onap/sdnc</argument>
+ <argument>-name</argument>
+ <argument>*.sh</argument>
+ <argument>-exec</argument>
+ <argument>chmod</argument>
+ <argument>+x</argument>
+ <argument>{}</argument>
+ <argument>;</argument>
+ </arguments>
+ </configuration>
+ </execution>
</executions>
</plugin>
</plugins>