diff --git a/src/main/java/org/jenkinsci/plugins/ParameterizedRemoteTrigger/RemoteBuildConfiguration.java b/src/main/java/org/jenkinsci/plugins/ParameterizedRemoteTrigger/RemoteBuildConfiguration.java index fde3be0e..fa62789e 100644 --- a/src/main/java/org/jenkinsci/plugins/ParameterizedRemoteTrigger/RemoteBuildConfiguration.java +++ b/src/main/java/org/jenkinsci/plugins/ParameterizedRemoteTrigger/RemoteBuildConfiguration.java @@ -89,7 +89,6 @@ public RemoteBuildConfiguration(String remoteJenkinsName, boolean shouldNotFailB this.token = token.trim(); this.remoteJenkinsName = remoteJenkinsName; - this.parameters = parameters; this.job = job.trim(); this.shouldNotFailBuild = shouldNotFailBuild; this.preventRemoteBuildQueue = preventRemoteBuildQueue; @@ -115,6 +114,7 @@ public RemoteBuildConfiguration(String remoteJenkinsName, boolean shouldNotFailB } } else { this.loadParamsFromFile = false; + this.parameters = parameters; } // TODO: clean this up a bit