Skip to content

Commit

Permalink
[JENKINS-20797] - Trigger builds with Cause.UserIdCause (#20)
Browse files Browse the repository at this point in the history
[JENKINS-20797] - Trigger with Cause.UserIdCause
  • Loading branch information
mustafau authored and oleg-nenashev committed Oct 12, 2016
1 parent 24cefe0 commit d91ea96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/hudson/plugins/release/ReleaseWrapper.java
Expand Up @@ -692,7 +692,7 @@ public void doSubmit(StaplerRequest req, StaplerResponse resp) throws IOExceptio
}

// schedule release build
if (!project.scheduleBuild(0, new Cause.UserCause(),
if (!project.scheduleBuild(0, new Cause.UserIdCause(),
new ReleaseBuildBadgeAction(),
new SafeParametersAction(paramValues))) {
// TODO redirect to error page?
Expand Down

0 comments on commit d91ea96

Please sign in to comment.