Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
<dependency>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>downstream-ext</artifactId>
<version>1.7</version>
<version>1.8</version>
</dependency>

<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ public String getDisplayName() {
}

@Override
public BuildTrigger newInstance(StaplerRequest req, JSONObject formData) throws FormException {
return new BuildTrigger(formData.getString("childProjects"), formData.getString("threshold"),
public Publisher newInstance(StaplerRequest req, JSONObject formData) throws FormException {
return new DownStreamTrigger(formData.getString("childProjects"), formData.getString("threshold"),
formData.getString("strategy"), formData.getBoolean("onlyIfParameterEnabled"));
}
}
Expand Down