jenkins-gitlab-merge-request-builder-plugin
jenkins-gitlab-merge-request-builder-plugin copied to clipboard
Please upgrade to Gitlab V4 API
Merge requests fail and I get the following error:
java.io.FileNotFoundException: https://xx.xxxxx.xx/api/v3/projects at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source) at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unknown Source) 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)
fixed in #214 .
How do I install this version? (#214)
How do I install this version? (#214)
In Jenkins plugins it's version stil 2.0.0 and use apiV3,please fixed ,thks!
How do I install this version? (#214)
To install:
- Clone repository
- In root directory of repo, run
mvn install
(note: Apache Maven needs to be installed for mvn command to work) - Once complete, navigate to
target
directory which was created to find thegitlab-merge-request-jenkins.hpi
file - Upload this file to your Jenkins server via Jenkins -> Manage Jenkins -> Manage Plugins -> Advanced tab -> Upload Plugin
- Restart Jenkins
@RaywayJohn hey have you tried the above approach? does it work?
Sorry,I didn't try it. I couldn't download it in internal network because of network policy.So only way to install jenkins plugin is in plugin manage module. Finally, I did it by other way. Thanks.
---Original--- From: "Aditya Pingale"<[email protected]> Date: Wed, Apr 15, 2020 19:29 PM To: "timols/jenkins-gitlab-merge-request-builder-plugin"<[email protected]>; Cc: "Mention"<[email protected]>;"RaywayJohn"<[email protected]>; Subject: Re: [timols/jenkins-gitlab-merge-request-builder-plugin] Please upgrade to Gitlab V4 API (#224)
@RaywayJohn hey have you tried the above approach? does it work?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.
@RaywayJohn can you help me with how did you manage to find another way?
If I remember correctly , finally I used GitLab API Plugin intead .
I've manually built master (needed to use java-8 due to an error with javadoc under java 11) and it works. Could you please tag and release a new version?