Skip to content

Commit

Permalink
JENKINS-40707
Browse files Browse the repository at this point in the history
javadoc change
  • Loading branch information
prospero238 committed Dec 30, 2016
1 parent 085707e commit 624d1df
Showing 1 changed file with 3 additions and 2 deletions.
Expand Up @@ -36,7 +36,8 @@ public class PropertiesAssembler {
* <li>Values from properties file described by {@link AbstractLiquibaseBuilder#liquibasePropertiesPath}</li>
* <li>Values on the {@link AbstractLiquibaseBuilder} itself.</li>
* </ul>
* Furthermore, any token expressions found are replaced with values found in the passed environment.
* Furthermore, any token expressions found are replaced with values found in the passed environment IF build
* is an AbstractBuild.
*
* @param liquibaseBuilder
* @param build
Expand All @@ -50,7 +51,7 @@ public static Properties createLiquibaseProperties(AbstractLiquibaseBuilder liqu
Properties properties = new Properties();
assembleDefaults(properties);

String propertiesPath = null;
String propertiesPath;
if (build instanceof AbstractBuild) {
propertiesPath = hudson.Util.replaceMacro(liquibaseBuilder.getLiquibasePropertiesPath(), environment);
} else {
Expand Down

0 comments on commit 624d1df

Please sign in to comment.