[JIRA] (JENKINS-45280) duplicate build triggered by same github push notification when there is long scm polling
Title: Message Title David Lakatos commented on JENKINS-45280 Re: duplicate build triggered by same github push notification when there is long scm polling Same here with 2.190.3. When push brings 2 new commits, 2 job starts. Both of them points to the Git repo's HEAD. Add Comment This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.183417.1499134113000.9627.1575133620583%40Atlassian.JIRA.
[JIRA] (JENKINS-45280) duplicate build triggered by same github push notification when there is long scm polling
Title: Message Title David Lakatos edited a comment on JENKINS-45280 Re: duplicate build triggered by same github push notification when there is long scm polling Same here with 2.190.3. When push brings 2 new commits, 2 job starts jobs start . Both of them points to the Git repo's HEAD. Add Comment This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.183417.1499134113000.9629.1575133620612%40Atlassian.JIRA.
[JIRA] (JENKINS-48035) Github multibranch: GitHub Webhook is not created right after saving the job
Title: Message Title David Lakatos commented on JENKINS-48035 Re: Github multibranch: GitHub Webhook is not created right after saving the job FYI I fixed my issue by regenerating my OAuth access token. It may have been misconfigured in my Jenkins' credentials... Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.186577.1510760384000.3449.1562403300322%40Atlassian.JIRA. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-48035) Github multibranch: GitHub Webhook is not created right after saving the job
Title: Message Title David Lakatos edited a comment on JENKINS-48035 Re: Github multibranch: GitHub Webhook is not created right after saving the job [~carlosrodlop] I experienced the same issue you did. What do you mean "It is working fine after deep testing"? How did your problem disappear?While my OAuth token used by Jenkins has the admin:repo_hook permission on Github, Jenkins throws this exception for all of my managed repositories:{{Jul 06, 2019 10:34:16 AM WARNING org.jenkinsci.plugins.github.webhook.WebhookManager$2 applyNullSafe}}{{Failed to add GitHub webhook for GitHubRepositoryName[host=github.com,username=*,repository=*]}}{{java.lang.NullPointerException: There are no credentials with admin access to manage hooks on GitHubRepositoryName[host=github.com,username=*,repository=*]}}{{ at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:231)}}{{ at org.jenkinsci.plugins.github.webhook.WebhookManager$2.applyNullSafe(WebhookManager.java:179)}}{{ at org.jenkinsci.plugins.github.webhook.WebhookManager$2.applyNullSafe(WebhookManager.java:175)}}{{ at org.jenkinsci.plugins.github.util.misc.NullSafeFunction.apply(NullSafeFunction.java:18)}}{{ at com.google.common.collect.Iterators$8.next(Iterators.java:812)}}{{ at com.google.common.collect.Iterators$7.computeNext(Iterators.java:648)}}{{ at com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:143)}}{{ at com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:138)}}{{ at com.google.common.collect.Iterators$7.computeNext(Iterators.java:647)}}{{ at com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:143)}}{{ at com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:138)}}{{ at com.google.common.collect.Lists.newArrayList(Lists.java:138)}}{{ at com.google.common.collect.Lists.newArrayList(Lists.java:119)}}{{ at org.jenkinsci.plugins.github.util.FluentIterableWrapper.toList(FluentIterableWrapper.java:147)}}{{ at org.jenkinsci.plugins.github.webhook.WebhookManager$1.run(WebhookManager.java:127)}}{{ at hudson.util.SequentialExecutionQueue$QueueEntry.run(SequentialExecutionQueue.java:119)}}{{ at jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:28)}}{{ at jenkins.security.ImpersonatingExecutorService$1.run(ImpersonatingExecutorService.java:59)}}{{ at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)}}{{ at java.util.concurrent.FutureTask.run(FutureTask.java:266)}}{{ at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)}}{{ at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)}}{{ at java.lang.Thread.run(Thread.java:748)}} Add Comment
[JIRA] (JENKINS-48035) Github multibranch: GitHub Webhook is not created right after saving the job
Title: Message Title David Lakatos commented on JENKINS-48035 Re: Github multibranch: GitHub Webhook is not created right after saving the job Carlos Rodríguez López I experienced the same issue you did. What do you mean "It is working fine after deep testing"? How did your problem disappear? While my OAuth token used by Jenkins has the admin:repo_hook permission on Github, Jenkins throws this exception for all of my managed repositories: Jul 06, 2019 10:34:16 AM WARNING org.jenkinsci.plugins.github.webhook.WebhookManager$2 applyNullSafe Failed to add GitHub webhook for GitHubRepositoryName[host=github.com,username=*,repository=*] java.lang.NullPointerException: There are no credentials with admin access to manage hooks on GitHubRepositoryName[host=github.com,username=*,repository=*] {{ at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:231)}} {{ at org.jenkinsci.plugins.github.webhook.WebhookManager$2.applyNullSafe(WebhookManager.java:179)}} {{ at org.jenkinsci.plugins.github.webhook.WebhookManager$2.applyNullSafe(WebhookManager.java:175)}} {{ at org.jenkinsci.plugins.github.util.misc.NullSafeFunction.apply(NullSafeFunction.java:18)}} {{ at com.google.common.collect.Iterators$8.next(Iterators.java:812)}} {{ at com.google.common.collect.Iterators$7.computeNext(Iterators.java:648)}} {{ at com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:143)}} {{ at com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:138)}} {{ at com.google.common.collect.Iterators$7.computeNext(Iterators.java:647)}} {{ at com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:143)}} {{ at com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:138)}} {{ at com.google.common.collect.Lists.newArrayList(Lists.java:138)}} {{ at com.google.common.collect.Lists.newArrayList(Lists.java:119)}} {{ at org.jenkinsci.plugins.github.util.FluentIterableWrapper.toList(FluentIterableWrapper.java:147)}} {{ at org.jenkinsci.plugins.github.webhook.WebhookManager$1.run(WebhookManager.java:127)}} {{ at hudson.util.SequentialExecutionQueue$QueueEntry.run(SequentialExecutionQueue.java:119)}} {{ at jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:28)}} {{ at jenkins.security.ImpersonatingExecutorService$1.run(ImpersonatingExecutorService.java:59)}} {{ at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)}} {{ at java.util.concurrent.FutureTask.run(FutureTask.java:266)}} {{ at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)}} {{ at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)}} {{ at java.lang.Thread.run(Thread.java:748)}} Add Comment