diff --git a/Pipeline/PackageBuildOutputs/PackageBuildOutputs.groovy b/Pipeline/PackageBuildOutputs/PackageBuildOutputs.groovy index 5fbf2099..e1a2d8b7 100644 --- a/Pipeline/PackageBuildOutputs/PackageBuildOutputs.groovy +++ b/Pipeline/PackageBuildOutputs/PackageBuildOutputs.groovy @@ -746,6 +746,9 @@ def parseInput(String[] cliArgs){ if (propertiesFile.exists()) { props.packagingPropertiesFile = opts.properties propertiesFile.withInputStream { props.load(it) } + } else { + println "*! [ERROR] The file '${opts.properties}' doesn't exist." + rc = Math.max(rc, 1) } } else { // read default sample properties file shipped with the script def scriptDir = new File(getClass().protectionDomain.codeSource.location.path).parent @@ -981,4 +984,4 @@ def retrieveBuildResultProperty(PropertiesRecord buildResultPropertiesRecord, St return null } } -} \ No newline at end of file +}