Skip to content

Commit

Permalink
[JENKINS-41980] SCM triggering should also be suppressed for GitHub w…
Browse files Browse the repository at this point in the history
…ebhooks.
  • Loading branch information
Vladislav Ponomarev committed Feb 13, 2017
1 parent 717536b commit d7334e5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/java/jenkins/branch/NoTriggerBranchProperty.java
Expand Up @@ -69,7 +69,7 @@ public boolean shouldSchedule(Queue.Task p, List<Action> actions) {
for (Action action : actions) {
if (action instanceof CauseAction) {
for (Cause c : ((CauseAction) action).getCauses()) {
if (c instanceof BranchIndexingCause) {
if (c instanceof BranchIndexingCause || c instanceof BranchEventCause) {
if (p instanceof Job) {
Job<?,?> j = (Job) p;
if (j.getParent() instanceof MultiBranchProject) {
Expand Down
Expand Up @@ -87,7 +87,7 @@ public boolean shouldSchedule(Queue.Task p, List<Action> actions) {
for (Action action : actions) {
if (action instanceof CauseAction) {
for (Cause c : ((CauseAction) action).getCauses()) {
if (c instanceof BranchIndexingCause) {
if (c instanceof BranchIndexingCause || c instanceof BranchEventCause) {
if (p instanceof Job) {
Job<?,?> j = (Job) p;

Expand Down

0 comments on commit d7334e5

Please sign in to comment.