Only trigger the build if remote publish result json passes all the checks specified.
Each check consists of key / expected value pair. To pass the check, the value extracted from publish result must match the regular expression specified by the "expected value".
Consider a result body of:
pubResult(result: """{
"version": "1.0.0",
"isSnapshot": "true"
}""")
To check if isSnapshot is true and version is 1.0.x, you would specify the key and expected value as:
isSnapshottrueversion1\.0\.\d+