Skip to content

Commit 5331e1f

Browse files
committed
Change GitHubPushCause to extend from SCMTriggerCause
1 parent b48f085 commit 5331e1f

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/main/java/com/cloudbees/jenkins/GitHubPushCause.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
package com.cloudbees.jenkins;
22

33
import hudson.model.Cause;
4+
import hudson.triggers.SCMTrigger.SCMTriggerCause;
45

56
/**
67
* UI object that says a build is started by GitHub post-commit hook.
78
*
89
* @author Kohsuke Kawaguchi
910
*/
10-
public class GitHubPushCause extends Cause {
11+
public class GitHubPushCause extends SCMTriggerCause {
1112
@Override
1213
public String getShortDescription() {
1314
return "Started by GitHub push by ";

0 commit comments

Comments
 (0)