Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please upgrade to Gitlab V4 API #224

Open
jenkins-sigaut opened this issue Dec 10, 2018 · 10 comments
Open

Please upgrade to Gitlab V4 API #224

jenkins-sigaut opened this issue Dec 10, 2018 · 10 comments

Comments

@jenkins-sigaut
Copy link

jenkins-sigaut commented Dec 10, 2018

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)

@wuwen5
Copy link

wuwen5 commented Dec 11, 2018

fixed in #214 .

@liddit2
Copy link

liddit2 commented Jan 3, 2019

How do I install this version? (#214)

@vivienhao
Copy link

How do I install this version? (#214)
image

@RaywayJohn
Copy link

image
In Jenkins plugins it's version stil 2.0.0 and use apiV3,please fixed ,thks!

@liddit2
Copy link

liddit2 commented Oct 2, 2019

How do I install this version? (#214)

To install:

  1. Clone repository
  2. In root directory of repo, run mvn install (note: Apache Maven needs to be installed for mvn command to work)
  3. Once complete, navigate to target directory which was created to find the gitlab-merge-request-jenkins.hpi file
  4. Upload this file to your Jenkins server via Jenkins -> Manage Jenkins -> Manage Plugins -> Advanced tab -> Upload Plugin
  5. Restart Jenkins

@continuum-aditya-pingale

@RaywayJohn hey have you tried the above approach?
does it work?

@RaywayJohn
Copy link

RaywayJohn commented Apr 15, 2020 via email

@continuum-aditya-pingale

@RaywayJohn can you help me with how did you manage to find another way?

@RaywayJohn
Copy link

If I remember correctly , finally I used GitLab API Plugin intead .

@wsnipex
Copy link

wsnipex commented Sep 11, 2020

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants