Hello,

I've successfully deployed the GH organization plugin. I commited
Jenkinsfile to several branches in various repos. When I run the rescan
job, it detects everything correctly and creates jobs.

I have a definition in Jenkinsfile that would employ "Build when a change
is pushed to GitHub":

properties([
    pipelineTriggers([
      [$class: "GitHubPushTrigger"]
    ])
  ])

The problem is, that when I view job configuration for some branch
configured with this, the checkbox is checked, but the job is not triggered
when a change is pushed.

There is an organization webhook set up in Github settings, that sends all
events to my Jenkins, hooks are correctly sent and received in Jenkins (I
can see this in jenkins.log).

When I re-run the job for organization scan, all changes are detected and
built correctly.

Am I missing something? I really need not to re-run the organization scan
periodically when new commit is pushed.

The same question stands for new branch detection - is it really necessary
to re-run the scan or may new branch be detected using a webhook?

Thank you

michal

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAB9OJeUSKkOQQUgFiW6y%2BaUMsMteQkMPKA2NO%3DP1q1Hn-hqNfQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to