Skip to content

Commit

Permalink
Merge pull request #10 from shoreless-ltd/issue-50838
Browse files Browse the repository at this point in the history
[JENKINS-50838] Change GitLab API support from v3 to v4.
  • Loading branch information
Mohamed EL HABIB committed Apr 26, 2018
2 parents 268a0d6 + 3ab60a7 commit 88cd974
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Expand Up @@ -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>
Expand Down
Expand Up @@ -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();
}
}
});
Expand Down
2 changes: 1 addition & 1 deletion src/main/webapp/help/realm/gitlab-api-uri-help.html
Expand Up @@ -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:
Expand Down

0 comments on commit 88cd974

Please sign in to comment.