Update xpath commands 45/102145/3
authorSangwook Ha <sangwook.ha@verizon.com>
Thu, 18 Aug 2022 06:07:56 +0000 (23:07 -0700)
committerSangwook Ha <sangwook.ha@verizon.com>
Thu, 18 Aug 2022 17:18:35 +0000 (10:18 -0700)
commit9e2f1dd07d7e11c32513d55424b18d5464dfd294
tree86e8d6533b2a42ddefef2fbb4175bca9f1d88534
parentb08676484724a49b5a71b9cae125b36c14db4222
Update xpath commands

'xpath' command in CentOS 8 uses the following format:

  xpath [options] -e query [-e query...] [filename...]

instead of this in CentOS 7:

  xpath [filename] query

Update the commands in the shell scripts to follow the new format with
the old one as a fallback to support both versions.

Change-Id: I4a99a7f18e69d2d1c4c67aca16a4a6ab57618cb2
Signed-off-by: Sangwook Ha <sangwook.ha@verizon.com>
jjb/integration/integration-compare-distributions.sh
jjb/integration/integration-detect-variables.sh
jjb/integration/integration-upload-distribution.sh
jjb/releng-maven-mri-stage.sh