-
New Feature
-
Resolution: Unresolved
-
Minor
-
None
Currently using skip build trigger with gitea results in an exception which can often get mistaken for webhooks not triggering builds. Jenkins logs reveal the actual issue:
SCM Source [class org.jenkinsci.plugin.gitea.GiteaSCMSource] is not a GitHubSCMSource
I am not aware whether there are any alternatives to this plugin, so I kindly ask this be implemented, as it is an essential feature for orchestrating pipelines.
SCMEventListener.onSCMHeadEvent(SCMHeadEvent) jenkins.branch.MultiBranchProject$SCMEventListenerImpl@258b82b0 propagated an exception java.lang.IllegalArgumentException: SCM Source [class org.jenkinsci.plugin.gitea.GiteaSCMSource] is not a GitHubSCMSource at org.jenkinsci.plugins.scm_filter.GitHubUtils.getCommit(GitHubUtils.java:35) at org.jenkinsci.plugins.scm_filter.GitHubCommitMessageBranchBuildStrategy.getMessage(GitHubCommitMessageBranchBuildStrategy.java:27) at org.jenkinsci.plugins.scm_filter.CommitMessageBranchBuildStrategy.isAutomaticBuild(CommitMessageBranchBuildStrategy.java:50) at jenkins.branch.BranchBuildStrategy.automaticBuild(BranchBuildStrategy.java:260) at jenkins.branch.MultiBranchProject$SCMHeadObserverImpl.isAutomaticBuild(MultiBranchProject.java:2324) at jenkins.branch.MultiBranchProject$SCMHeadObserverImpl.doAutomaticBuilds(MultiBranchProject.java:2270) at jenkins.branch.MultiBranchProject$SCMHeadObserverImpl.observeExisting(MultiBranchProject.java:2070) at jenkins.branch.MultiBranchProject$SCMHeadObserverImpl.observe(MultiBranchProject.java:2021) at jenkins.scm.api.SCMHeadObserver$Wrapped.observe(SCMHeadObserver.java:637) at jenkins.scm.api.SCMHeadEvent$Validated.observe(SCMHeadEvent.java:295) at jenkins.scm.api.trait.SCMSourceRequest.process(SCMSourceRequest.java:357) at jenkins.scm.api.trait.SCMSourceRequest.process(SCMSourceRequest.java:249) at org.jenkinsci.plugin.gitea.GiteaSCMSource.retrieve(GiteaSCMSource.java:328) at jenkins.scm.api.SCMSource._retrieve(SCMSource.java:372) at jenkins.scm.api.SCMSource.fetch(SCMSource.java:326) at jenkins.branch.MultiBranchProject$SCMEventListenerImpl.processHeadUpdate(MultiBranchProject.java:1614) at jenkins.branch.MultiBranchProject$SCMEventListenerImpl.onSCMHeadEvent(MultiBranchProject.java:1218) at jenkins.scm.api.SCMHeadEvent$DispatcherImpl.fire(SCMHeadEvent.java:246) at jenkins.scm.api.SCMHeadEvent$DispatcherImpl.fire(SCMHeadEvent.java:229) at jenkins.scm.api.SCMEvent$Dispatcher.run(SCMEvent.java:545) at jenkins.security.ImpersonatingScheduledExecutorService$1.run(ImpersonatingScheduledExecutorService.java:67) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) at java.base/java.lang.Thread.run(Thread.java:833)