Skip to content
Permalink
Browse files
JENKINS-40707
javadoc change
  • Loading branch information
prospero238 committed Dec 30, 2016
1 parent 085707e commit 624d1df287fb80327aed2f5782fd2b4beb493c4c
Showing 1 changed file with 3 additions and 2 deletions.
@@ -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
@@ -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 {

0 comments on commit 624d1df

Please sign in to comment.