-
Notifications
You must be signed in to change notification settings - Fork 128
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
Refresh plugin #234
base: master
Are you sure you want to change the base?
Refresh plugin #234
Conversation
<dependency> | ||
<groupId>org.gitlab</groupId> | ||
<artifactId>java-gitlab-api</artifactId> | ||
<version>4.0.0</version> | ||
</dependency> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @basil . This change
<dependency>
<groupId>io.jenkins.plugins</groupId>
<artifactId>gitlab-api</artifactId>
</dependency>
causes a bunch of issues. for example:
] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /Users/shlomodahan/Desktop/jenkins_plugins/jenkins-gitlab-merge-request-builder-plugin/src/main/java/org/jenkinsci/plugins/gitlab/Gitlab.java:[5,22] package org.gitlab.api does not exist
[ERROR] /Users/shlomodahan/Desktop/jenkins_plugins/jenkins-gitlab-merge-request-builder-plugin/src/main/java/org/jenkinsci/plugins/gitlab/Gitlab.java:[6,29] package org.gitlab.api.models does not exist
[ERROR] /Users/shlomodahan/Desktop/jenkins_plugins/jenkins-gitlab-merge-request-builder-plugin/src/main/java/org/jenkinsci/plugins/gitlab/Gitlab.java:[7,29] package org.gitlab.api.models does not exist
[ERROR] /Users/shlomodahan/Desktop/jenkins_plugins/jenkins-gitlab-merge-request-builder-plugin/src/main/java/org/jenkinsci/plugins/gitlab/Gitlab.java:[14,13] cannot find symbol
symbol: class GitlabAPI
location: class org.jenkinsci.plugins.gitlab.Gitlab
[ERROR] /Users/shlomodahan/Desktop/jenkins_plugins/jenkins-gitlab-merge-request-builder-plugin/src/main/java/org/jenkinsci/plugins/gitlab/Gitlab.java:[25,12] cannot find symbol
symbol: class GitlabAPI
likely related to how we are importing the package.
import org.gitlab.api.GitlabAPI;
import org.gitlab.api.models.GitlabCommitStatus;
import org.gitlab.api.models.GitlabProject;
What is the correct approach for handling this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No description provided.