Add common-functions.sh bash lib 43/67243/8
authorJamo Luhrsen <jluhrsen@redhat.com>
Wed, 17 Jan 2018 17:06:10 +0000 (09:06 -0800)
committerJamo Luhrsen <jluhrsen@redhat.com>
Thu, 18 Jan 2018 20:27:40 +0000 (20:27 +0000)
commitc4941c962a803dde9193c2757d8e8878c792c515
tree8cffe42f46b71b649dfa625728db5a3bde95ba21
parent7103942eac7517f3e0573952b2b0e91d1d3a1d3c
Add common-functions.sh bash lib

tired of looking at duplicated code and having to remember to
search for all instances of it. This can be the start of some
cleanup, if others agree it's a good idea.

first round:
  - move the Java vars setup code to a common function.
  - move some common vars to common location as well
  - added "export" to some vars to get around local tox
    shellcheck error

Change-Id: If03949e16aae3561ac8636bc4de0b1a17dad01ae
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
jjb/integration/common-functions.sh [new file with mode: 0644]
jjb/integration/integration-configure-clustering.sh
jjb/integration/integration-deploy-controller-run-test.sh
jjb/integration/integration-macros.yaml