Skip to content
Permalink
Browse files

Merge pull request #10 from shoreless-ltd/issue-50838

[JENKINS-50838] Change GitLab API support from v3 to v4.
  • Loading branch information
Mohamed EL HABIB
Mohamed EL HABIB committed Apr 26, 2018
2 parents 268a0d6 + 3ab60a7 commit 88cd9747a472215fa751469d66e22c738ae7fb74
@@ -72,7 +72,7 @@
<dependency>
<groupId>org.gitlab</groupId>
<artifactId>java-gitlab-api</artifactId>
<version>1.2.6</version>
<version>4.0.0</version>
</dependency>
<dependency>
<groupId>org.jenkins-ci</groupId>
@@ -268,7 +268,7 @@ public Boolean call() throws Exception {
// could be non-existant)
return Boolean.FALSE;
} else {
return Boolean.valueOf(repository.isPublic());
return repository.isPublic();
}
}
});
@@ -2,7 +2,7 @@
<p>
Normally this value stays as-is. If you are using <b><a href="https://enterprise.gitlab.com">GitLab Enterprise</a></b>
then you should enter the URI to the <strong>API</strong> root of your GitLab installation
(e.g. <b>https://gitlab.company.com</b>. The plugin will automatically add "api/v3" suffix for you.).
(e.g. <b>https://gitlab.company.com</b>. The plugin will automatically add "api/v4" suffix for you.).
<p/>

Notes:

0 comments on commit 88cd974

Please sign in to comment.
You can’t perform that action at this time.