Show which files are being compared

This commit is contained in:
Dan Hawkins 2021-09-10 16:18:26 +01:00
commit 676122557a
2 changed files with 2 additions and 1 deletions

View file

@ -1,4 +1,5 @@
def comparefiles(importedfile, currentfile, boolean ignorewhitespace = true) {
echo "Comparing file: ${importedfile} with: ${currentfile} option: ${ignorewhitespace}"
def wsparameter = "-w"
if (!ignorewhitespace) {
wsparameter = ""

View file

@ -1,5 +1,5 @@
def comparefiles(importedjsonfile, currentjsonfile) {
echo "Comparing file: ${importedjsonfile} with: ${currentjsonfile}"
echo "Comparing json file: ${importedjsonfile} with: ${currentjsonfile}"
if (isUnix()) {
sh """
which jq