Gitlab Merge Request Builder Plugin is not working

15 views
Skip to first unread message

Om Prasad Surapu

unread,
Apr 30, 2020, 9:46:29 AM4/30/20
to Jenkins Users
Hi All,

Hope all are safe!

I have a freestyle project in jenkins (2.1where we installed Gitlab Merge Request Builder Plugin and configured. I use GitLab Enterprise Edition 13.0.0-pre and Jenkins version is 2.138.

I'm trying to trigger build using Gitlab merge builder, but not able to set the job. Whenever tried to save the respective job in jenkins, it's throwing an error as below.

A problem occurred while processing the request. Please check our bug tracker to see if a similar problem has already been reported. If it is already reported, please vote and put a comment on it to let us gauge the impact of the problem. If you think this is a new issue, please file a new issue. When you file an issue, make sure to add the entire stack trace, along with the version of Jenkins and relevant plugins. The users list might be also useful in understanding what has happened.

Stack trace java.io.FileNotFoundException: https://gitlab.com/api/v3/projects at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1890) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1492) at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:263) at org.gitlab.api.http.GitlabHTTPRequestor.parse(GitlabHTTPRequestor.java:324) at org.gitlab.api.http.GitlabHTTPRequestor.access$200(GitlabHTTPRequestor.java:28) at org.gitlab.api.http.GitlabHTTPRequestor$1.fetch(GitlabHTTPRequestor.java:232) Caused: java.lang.Error


Based on this error, we came to know that it should work with api v4 version. Is this plugin compatible with jenkins 2.138 and GitLab 13.0 version?

Please help me out on this. Many thanks!

-Om 

Om Prasad Reddy Surapu

unread,
May 2, 2020, 11:32:28 AM5/2/20
to jenkins...@googlegroups.com
Could anyone has an idea about this?



--
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-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/0ee22646-3656-4616-885f-02bd075dc95d%40googlegroups.com.

Mark Waite

unread,
May 2, 2020, 12:09:10 PM5/2/20
to Jenkins Users
On Sat, May 2, 2020 at 9:32 AM Om Prasad Reddy Surapu <prasa...@gmail.com> wrote:
Could anyone has an idea about this?


GitLab docs state the GitLab API v3 is unsupported since Aug 2017.  Since GitLab Merge Request Builder was last released 4 years ago (before the v3 API became unsupported), I suspect it has no support for GitLab API v4.

Similar functionality to GitLab Merge Request Builder is available in the GitLab Branch Source plugin.  However, it requires Jenkins 2.176.x or newer.  You'll need to update from Jenkins 2.138.x to Jenkins 2.176.x or Jenkins 2.190.x or Jenkins 2.204.x in order to use the GitLab Branch Source plugin.

Thanks,
Mark Waite
 

Om Prasad Reddy Surapu

unread,
May 2, 2020, 12:42:51 PM5/2/20
to jenkins...@googlegroups.com
Thanks Mark.

So it should work if jenkins upgraded to higher version. 

Thanks,
Om

Mark Waite

unread,
May 2, 2020, 12:48:58 PM5/2/20
to Jenkins Users
On Sat, May 2, 2020 at 10:42 AM Om Prasad Reddy Surapu <prasa...@gmail.com> wrote:
Thanks Mark.

So it should work if jenkins upgraded to higher version. 

It depends what you mean by "it".  Jenkins Gitlab Merge Request Builder won't work with your GitLab Enterprise version because the Merge Request Builder plugin does not support GitLab API v4 and GitLab Enterprise does not support GitLab API v3.

GitLab Branch Source will work with an upgraded Jenkins.
 

Om Prasad Reddy Surapu

unread,
May 2, 2020, 12:52:37 PM5/2/20
to jenkins...@googlegroups.com
Thanks! I was saying about GitLab Branch Source plugin. I will check it.


Thanks!

Reply all
Reply to author
Forward
0 new messages