Skip to content

Commit

Permalink
fixes the groupId and removes bad docs
Browse files Browse the repository at this point in the history
  • Loading branch information
xirsoi committed Jan 15, 2017
1 parent e34ec9d commit a012035
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 31 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

<url>https://wiki.jenkins-ci.org/display/JENKINS/TestRail+Plugin</url>

<groupId>testrail</groupId>
<groupId>org.jenkinsci.plugins</groupId>
<artifactId>testrail</artifactId>
<name>TestRail Plugin</name>
<version>1.0.2-SNAPSHOT</version>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -208,23 +208,8 @@ public BuildStepMonitor getRequiredMonitorService() {
return BuildStepMonitor.NONE; //null;
}

/**
* Descriptor for {@link TestRailNotifier}. Used as a singleton.
* The class is marked as public so that it can be accessed from views.
*
* <p>
* See <tt>src/main/resources/hudson/plugins/hello_world/TestRailRecorder/*.jelly</tt>
* for the actual HTML fragment for the configuration screen.
*/
@Extension // This indicates to Jenkins that this is an implementation of an extension point.
@Extension
public static final class DescriptorImpl extends BuildStepDescriptor<Publisher> {
/**
* To persist global configuration information,
* simply store it in a field and call save().
*
* <p>
* If you don't want fields to be persisted, use <tt>transient</tt>.
*/
private String testrailHost = "";
private String testrailUser = "";
private String testrailPassword = "";
Expand All @@ -238,14 +223,6 @@ public DescriptorImpl() {
load();
}

/**
* Performs on-the-fly validation of the form field 'name'.
*
* @param value
* This parameter receives the value that the user has typed.
* @return
* Indicates the outcome of the validation. This is sent to the browser.
*/
public FormValidation doCheckTestrailProject(@QueryParameter int value)
throws IOException, ServletException {
testrail.setHost(getTestrailHost());
Expand Down Expand Up @@ -401,12 +378,6 @@ public boolean configure(StaplerRequest req, JSONObject formData) throws FormExc
return super.configure(req,formData);
}

/**
* This method returns true if the global configuration says we should speak French.
*
* The method name is bit awkward because global.jelly calls this method to determine
* the initial state of the checkbox by the naming convention.
*/
public void setTestrailHost(String host) { this.testrailHost = host; }
public String getTestrailHost() { return testrailHost; }
public void setTestrailUser(String user) { this.testrailUser = user; }
Expand Down

0 comments on commit a012035

Please sign in to comment.