Skip to content
This repository was archived by the owner on Apr 24, 2025. It is now read-only.

Commit 5b74a10

Browse files
authored
Connect to hosting channel only (#211)
1 parent cc7df5d commit 5b74a10

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Jenkinsfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ pipeline {
1717
BUILD_NUMBER = env.GIT_COMMIT.take(6)
1818
}
1919
steps {
20-
sh 'make bot'
20+
sh 'make clean bot'
2121
}
2222

2323
post {

src/main/java/org/jenkinsci/backend/ircbot/IrcBotConfig.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ public class IrcBotConfig {
2828
private static final String DEFAULT_IRCBOT_NAME = ("ircbot-"+System.getProperty("user.name"));
2929
static String NAME = System.getProperty(varPrefix+"name", DEFAULT_IRCBOT_NAME);
3030
static String SERVER = System.getProperty(varPrefix+"server", "irc.libera.chat");
31-
static final Set<String> DEFAULT_CHANNELS = new HashSet<String>(Arrays.asList("#jenkins", "#jenkins-infra", "#jenkins-release", "#jenkins-hosting"));
32-
static final String CHANNELS_LIST = System.getProperty(varPrefix+"channels", "#jenkins,#jenkins-infra,#jenkins-release,#jenkins-hosting");
31+
static final Set<String> DEFAULT_CHANNELS = new HashSet<String>(Arrays.asList("#jenkins-hosting"));
32+
static final String CHANNELS_LIST = System.getProperty(varPrefix+"channels", "#jenkins-hosting");
3333

3434
// Testing
3535
/**

0 commit comments

Comments
 (0)