Skip to content

Commit

Permalink
fixing JENKINS-25366
Browse files Browse the repository at this point in the history
* if params are to be loaded from a file, force `this.parameters` to an empty string.
  • Loading branch information
morficus committed May 12, 2015
1 parent 2b6bd81 commit 3f82332
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -115,6 +114,7 @@ public RemoteBuildConfiguration(String remoteJenkinsName, boolean shouldNotFailB
}
} else {
this.loadParamsFromFile = false;
this.parameters = parameters;
}

// TODO: clean this up a bit
Expand Down

0 comments on commit 3f82332

Please sign in to comment.