Gitlab Merge Request Builder Plugin

78 views
Skip to first unread message

inforedaster .

unread,
Apr 7, 2016, 6:34:08 AM4/7/16
to jenkins...@googlegroups.com
Hi,

I have Jenkins ver. 1.642.3 and GitLab Community Edition 8.5.1 
i use Gitlab Merge Request Builder Plugin it's work for me but i have a logs in evry cron check

Apr 07, 2016 11:59:05 AM org.jenkinsci.plugins.gitlab.GitlabBuilds build
INFO: The target regex matches the target branch {develop}. Source branch {my-feature-branch}
Apr 07, 2016 11:59:05 AM org.jenkinsci.plugins.gitlab.GitlabBuilds build
INFO: Build is not supposed to run
Apr 07, 2016 11:59:05 AM org.jenkinsci.plugins.gitlab.GitlabMergeRequestWrapper createNote
SEVERE: Failed to create note for merge request 14
org.gitlab.api.GitlabAPIException: {"message":"400 (Bad request) \"body\" not given"}
        at org.gitlab.api.http.GitlabHTTPRequestor.handleAPIError(GitlabHTTPRequestor.java:369)
        at org.gitlab.api.http.GitlabHTTPRequestor.to(GitlabHTTPRequestor.java:146)
        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:272)
        at hudson.triggers.Trigger$Cron.doRun(Trigger.java:221)
        at hudson.triggers.SafeTimerTask.run(SafeTimerTask.java:50)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
        at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:745)
Caused by: java.io.IOException: Server returned HTTP response code: 400 for URL: https://gitlab.local.net/api/v3/projects/38/merge_requests/14/notes
        at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1628)
        at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:254)
        at org.gitlab.api.http.GitlabHTTPRequestor.parse(GitlabHTTPRequestor.java:324)
        at org.gitlab.api.http.GitlabHTTPRequestor.to(GitlabHTTPRequestor.java:144)
        ... 19 more

the Merge request "Id = 14" doesn't exist in my gitlab project i have juste 5 merges request !!

any idea please
thanks

--

Cordilally

Cordialement.


Reply all
Reply to author
Forward
0 new messages