Skip to content

Commit

Permalink
Connect to hosting channel only (#211)
Browse files Browse the repository at this point in the history
  • Loading branch information
NotMyFault authored Aug 8, 2023
1 parent cc7df5d commit 5b74a10
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ pipeline {
BUILD_NUMBER = env.GIT_COMMIT.take(6)
}
steps {
sh 'make bot'
sh 'make clean bot'
}

post {
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/org/jenkinsci/backend/ircbot/IrcBotConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ public class IrcBotConfig {
private static final String DEFAULT_IRCBOT_NAME = ("ircbot-"+System.getProperty("user.name"));
static String NAME = System.getProperty(varPrefix+"name", DEFAULT_IRCBOT_NAME);
static String SERVER = System.getProperty(varPrefix+"server", "irc.libera.chat");
static final Set<String> DEFAULT_CHANNELS = new HashSet<String>(Arrays.asList("#jenkins", "#jenkins-infra", "#jenkins-release", "#jenkins-hosting"));
static final String CHANNELS_LIST = System.getProperty(varPrefix+"channels", "#jenkins,#jenkins-infra,#jenkins-release,#jenkins-hosting");
static final Set<String> DEFAULT_CHANNELS = new HashSet<String>(Arrays.asList("#jenkins-hosting"));
static final String CHANNELS_LIST = System.getProperty(varPrefix+"channels", "#jenkins-hosting");

// Testing
/**
Expand Down

0 comments on commit 5b74a10

Please sign in to comment.