Skip to content
This repository was archived by the owner on Nov 7, 2023. It is now read-only.

Commit 3f82332

Browse files
committed
fixing JENKINS-25366
* if params are to be loaded from a file, force `this.parameters` to an empty string.
1 parent 2b6bd81 commit 3f82332

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/jenkinsci/plugins/ParameterizedRemoteTrigger/RemoteBuildConfiguration.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,6 @@ public RemoteBuildConfiguration(String remoteJenkinsName, boolean shouldNotFailB
8989

9090
this.token = token.trim();
9191
this.remoteJenkinsName = remoteJenkinsName;
92-
this.parameters = parameters;
9392
this.job = job.trim();
9493
this.shouldNotFailBuild = shouldNotFailBuild;
9594
this.preventRemoteBuildQueue = preventRemoteBuildQueue;
@@ -115,6 +114,7 @@ public RemoteBuildConfiguration(String remoteJenkinsName, boolean shouldNotFailB
115114
}
116115
} else {
117116
this.loadParamsFromFile = false;
117+
this.parameters = parameters;
118118
}
119119

120120
// TODO: clean this up a bit

0 commit comments

Comments
 (0)