Skip to content

Commit

Permalink
[JENKINS-11562] we don't need a password or similar token to authenti…
Browse files Browse the repository at this point in the history
…cate as only admins may enter the login name anyway
  • Loading branch information
kutzi committed Nov 3, 2011
1 parent 9cd2739 commit ae515c9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
4 changes: 2 additions & 2 deletions pom.xml
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>org.jvnet.hudson.plugins</groupId>
<artifactId>instant-messaging-parent</artifactId>
<version>1.17-SNAPSHOT</version>
<version>1.18-SNAPSHOT</version>
<relativePath>../instant-messaging-parent-plugin/pom.xml</relativePath>
</parent>
<artifactId>ircbot</artifactId>
Expand All @@ -22,7 +22,7 @@
</licenses>

<properties>
<version.instant-messaging.plugin>1.19</version.instant-messaging.plugin>
<version.instant-messaging.plugin>1.21-SNAPSHOT</version.instant-messaging.plugin>
</properties>

<dependencies>
Expand Down
7 changes: 0 additions & 7 deletions src/main/java/hudson/plugins/ircbot/IrcPublisher.java
Expand Up @@ -183,7 +183,6 @@ public static final class DescriptorImpl extends BuildStepDescriptor<Publisher>
String commandPrefix = "!jenkins";

private String hudsonLogin;
private String hudsonPassword;

private boolean useNotice;

Expand Down Expand Up @@ -253,7 +252,6 @@ public boolean configure(StaplerRequest req, JSONObject formData) throws FormExc
this.defaultTargets = targets;

this.hudsonLogin = req.getParameter(PARAMETERNAME_HUDSON_LOGIN);
this.hudsonPassword = req.getParameter(PARAMETERNAME_HUDSON_PASSWORD);

this.useNotice = "on".equals(req.getParameter(PARAMETERNAME_USE_NOTICE));

Expand Down Expand Up @@ -425,11 +423,6 @@ public String getHudsonUserName() {
return this.hudsonLogin;
}

//@Override
public String getHudsonPassword() {
return this.hudsonPassword;
}

//@Override
public String getPluginDescription() {
return "IRC notifier plugin";
Expand Down

0 comments on commit ae515c9

Please sign in to comment.