jenkins-gitlab-merge-request-builder-plugin
jenkins-gitlab-merge-request-builder-plugin copied to clipboard
Failed to create note for merge request
Could anyone help me to fix this issue? I am trying to evaluate GITLAB with Jenkins to process Merge requests. I am getting error like:
Apr 03, 2017 4:43:00 PM INFO org.jenkinsci.plugins.gitlab.GitlabMergeRequestWrapper build Apr 03, 2017 4:43:01 PM INFO org.jenkinsci.plugins.gitlab.GitlabBuilds build The target regex matches the target branch {development}. Source branch {dev-scy4-feature1} Apr 03, 2017 4:43:01 PM INFO org.jenkinsci.plugins.gitlab.GitlabBuilds build Build is not supposed to run Apr 03, 2017 4:43:01 PM SEVERE org.jenkinsci.plugins.gitlab.GitlabMergeRequestWrapper createNote Failed to create note for merge request 65 java.io.FileNotFoundException: http://swxd-gitlab.dsone.3ds.com/api/v3/projects/23/merge_requests/65/notes at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source) at org.gitlab.api.http.GitlabHTTPRequestor.parse(GitlabHTTPRequestor.java:324) at org.gitlab.api.http.GitlabHTTPRequestor.to(GitlabHTTPRequestor.java:144) at org.gitlab.api.http.GitlabHTTPRequestor.to(GitlabHTTPRequestor.java:116) at org.gitlab.api.GitlabAPI.createNote(GitlabAPI.java:1073) at org.jenkinsci.plugins.gitlab.GitlabMergeRequestWrapper.createNote(GitlabMergeRequestWrapper.java:217) at org.jenkinsci.plugins.gitlab.GitlabMergeRequestWrapper.build(GitlabMergeRequestWrapper.java:258) at org.jenkinsci.plugins.gitlab.GitlabMergeRequestWrapper.check(GitlabMergeRequestWrapper.java:100) at org.jenkinsci.plugins.gitlab.GitlabRepository.check(GitlabRepository.java:86) at org.jenkinsci.plugins.gitlab.GitlabRepository.check(GitlabRepository.java:68) at org.jenkinsci.plugins.gitlab.GitlabMergeRequestBuilder.run(GitlabMergeRequestBuilder.java:28) at org.jenkinsci.plugins.gitlab.GitlabBuildTrigger.run(GitlabBuildTrigger.java:134) at hudson.triggers.Trigger.checkTriggers(Trigger.java:278) at hudson.triggers.Trigger$Cron.doRun(Trigger.java:226) at hudson.triggers.SafeTimerTask.run(SafeTimerTask.java:50) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask.runAndReset(Unknown Source) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source)
I have the same issue. Were you able to fix this?
same here. no solution?
I might have a solution! So, eventhough it detects branches that are supposed to build, somehow, MR Builder checks for hasCommitStatus, and that return false, making it impossible to build.