diff --git a/src/main/java/org/jfrog/buildinfo/deployment/BuildInfoRecorder.java b/src/main/java/org/jfrog/buildinfo/deployment/BuildInfoRecorder.java index 05c3ba0..c1e7f32 100644 --- a/src/main/java/org/jfrog/buildinfo/deployment/BuildInfoRecorder.java +++ b/src/main/java/org/jfrog/buildinfo/deployment/BuildInfoRecorder.java @@ -28,6 +28,7 @@ import org.jfrog.build.extractor.clientConfiguration.deploy.DeployDetails; import org.jfrog.buildinfo.resolution.RepositoryListener; import org.jfrog.buildinfo.types.ModuleArtifacts; +import org.jfrog.buildinfo.utils.Utils; import java.io.File; import java.util.*; @@ -72,6 +73,9 @@ public void projectSucceeded(ExecutionEvent event) { .id(getModuleIdString(project.getGroupId(), project.getArtifactId(), project.getVersion())) .properties(project.getProperties()); + // Replace variables + conf.getAllProperties().replaceAll((key, value) -> Utils.parseInput(value)); + // Fill currentModuleArtifacts addArtifacts(project);