Skip to content

Commit

Permalink
Remove getter
Browse files Browse the repository at this point in the history
  • Loading branch information
EyalDelarea committed Nov 11, 2024
1 parent 0d9b207 commit d5016e3
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/main/java/io/jenkins/plugins/jfrog/JfStep.java
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
import io.jenkins.plugins.jfrog.models.BuildInfoOutputModel;
import io.jenkins.plugins.jfrog.plugins.PluginsUtils;
import jenkins.tasks.SimpleBuildStep;
import lombok.Getter;
import org.apache.commons.io.FilenameUtils;
import org.apache.commons.lang3.StringUtils;
import org.apache.commons.lang3.exception.ExceptionUtils;
Expand Down Expand Up @@ -53,7 +52,6 @@ public class JfStep extends Builder implements SimpleBuildStep {
private static final Version MIN_CLI_VERSION_PASSWORD_STDIN = new Version("2.31.3");
static final String STEP_NAME = "jf";

@Getter
protected String[] args;
// The current JFrog CLI version in the agent
protected Version currentCliVersion;
Expand All @@ -74,6 +72,10 @@ public JfStep(Object args) {
this.args = split(args.toString());
}

public String[] getArgs() {
return args;
}

/**
* Build and run a 'jf' command.
*
Expand Down

0 comments on commit d5016e3

Please sign in to comment.