List all files in subdir hooks

Change-Id: Iefd3936e9923d769b4f6654b537a195de9a358fd
diff --git a/jjb/onos-app-release.yaml b/jjb/onos-app-release.yaml
index 5247984..dd22408 100644
--- a/jjb/onos-app-release.yaml
+++ b/jjb/onos-app-release.yaml
@@ -76,4 +76,4 @@
 
     dsl: !include-raw-escape: pipeline/onos-app-release.groovy
 
-# [EOF] .
+# [EOF]
diff --git a/jjb/pipeline/onos-app-release.groovy b/jjb/pipeline/onos-app-release.groovy
index 12e69c7..0c2c48a 100644
--- a/jjb/pipeline/onos-app-release.groovy
+++ b/jjb/pipeline/onos-app-release.groovy
@@ -68,7 +68,7 @@
     sh 'echo "PWD: $(/bin/pwd)"'
     sh '/bin/ls -l'
     sh 'gitdir=$(git rev-parse --git-dir) && /bin/ls -ld ${gitdir}'
-    sh 'gitdir=$(git rev-parse --git-dir) && /bin/ls -ld ${gitdir}/hooks/'
+    sh 'gitdir=$(git rev-parse --git-dir) && /bin/ls -l ${gitdir}/hooks/*'
 
     leave(name)
 
@@ -198,4 +198,3 @@
     sh  'echo "Go to http://oss.sonatype.org and release the artifacts (after the maven-publish job completes)"'
   }
 }
-