Skip to content

Commit

Permalink
Expand environment variables in plugin (#39)
Browse files Browse the repository at this point in the history
  • Loading branch information
asimell committed Feb 11, 2021
1 parent 0053e78 commit bd21b13
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/java/hudson/plugins/robot/RobotPublisher.java
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,8 @@ public void perform(Run<?, ?> build, FilePath workspace, Launcher launcher, Task

logger.println(Messages.robot_publisher_assigning());

RobotBuildAction action = new RobotBuildAction(build, result, getArchiveDirName(), listener, expandedReportFileName, expandedLogFileName, enableCache, overwriteXAxisLabel);
String label = buildEnv.expand(overwriteXAxisLabel);
RobotBuildAction action = new RobotBuildAction(build, result, getArchiveDirName(), listener, expandedReportFileName, expandedLogFileName, enableCache, label);
build.addAction(action);

// set RobotProjectAction as project action
Expand Down

0 comments on commit bd21b13

Please sign in to comment.