Display git config values to see if Change-Id commit hook was disabled
Change-Id: Id3c933707dccc3a98a12fbcd0d1c1a07fac9eb50
diff --git a/jjb/onos-app-release.yaml b/jjb/onos-app-release.yaml
index dd22408..5247984 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 5ae2ab6..cc98783 100644
--- a/jjb/pipeline/onos-app-release.groovy
+++ b/jjb/pipeline/onos-app-release.groovy
@@ -70,6 +70,25 @@
sh 'gitdir=$(git rev-parse --git-dir) && /bin/ls -ld ${gitdir}'
sh 'gitdir=$(git rev-parse --git-dir) && /bin/ls -l ${gitdir}/hooks/*'
+ println('''
+
+** -----------------------------------------------------------------------
+** git config --list
+** -----------------------------------------------------------------------
+''')
+ sh 'git config --list'
+
+ println('''
+
+** -----------------------------------------------------------------------
+** git config --global --list
+** -----------------------------------------------------------------------
+''')
+ sh 'git config --global --list'
+
+ println('\nWANTED: git config --bool --get gerrit.createChangeId')
+ sh '''git config --bool --get gerrit.createChangedId' && echo "gerrit.createChangedId=[$?]'''
+
leave(name)
return