I try to call this from Jenkins Pipeline and ended up with an error
def setAppBuildDate(buildDate) { outputDateFormat = "dd-MMM-yyyy z" dateTxt = \'