Skip to content
This repository was archived by the owner on Mar 27, 2025. It is now read-only.

Commit e87fdf2

Browse files
author
Nikhil Bhoski
committed
Removed version compatibility from pom.
1 parent 0a49623 commit e87fdf2

File tree

2 files changed

+1
-14
lines changed

2 files changed

+1
-14
lines changed

pom.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
<properties>
2323
<jenkins.version>2.164.3</jenkins.version>
2424
<java.level>8</java.level>
25-
<hpi.compatibleSinceVersion>3.0.0</hpi.compatibleSinceVersion>
2625
</properties>
2726

2827
<name>MATLAB Plugin</name>

src/main/java/com/mathworks/ci/RunMatlabCommandStep.java

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -35,21 +35,9 @@ public String getCommand() {
3535
return this.command;
3636
}
3737

38-
private String getMatlabCommand() {
39-
return this.env == null ? getCommand() : this.env.expand(getCommand());
40-
}
41-
42-
public void setEnv(EnvVars env) {
43-
this.env = env;
44-
}
45-
46-
public EnvVars getEnv() {
47-
return this.env;
48-
}
49-
5038
@Override
5139
public StepExecution start(StepContext context) throws Exception {
52-
return new MatlabStepExecution(context, getMatlabCommand());
40+
return new MatlabStepExecution(context, getCommand());
5341
}
5442

5543
@Extension

0 commit comments

Comments
 (0)